서버6 Background 실행 명령어 nohup {command} > {log save file name } & ex) nohup python pipeline_methods_test.py > find_frequency.out & 2022. 7. 11. Process 확인 명령어 ps -ef ex) Python 확인 ps -ef | grep python 2022. 7. 11. 파일 개수 파악 Linux 명령어 ls -l | grep ^- | wc -l 2022. 7. 11. Docker 명령어 정리 Docker 컨테이너 gpu 할당 생성 sudo docker run -it —gpus `“device=4”` -p ####:#### -v `pwd`:/etc {image_id or image_name} sudo docker run -it --gpus device=3 --name ocr-pipeline -p ####:#### {image_id or image_name} Docker cmd 접속 docker exec -it {container name} /bin/bash Docker file copy : local --> cotainer sudo docker cp korean_g2.pth_frequency.csv {id}:/workspace/ 2022. 7. 11. 이전 1 2 다음