
리눅스 명령어 정리3 - 시스템 정보
ps 설명 process status 출력 자주 사용되는 옵션 -e : 모든 프로세스(데몬..등등) -f : full-format (자주 보는, 미리 정의된 필드의 정보) -L : 쓰레드까지 출력(멀티 쓰레드 프로그래밍할 때) --forest : 프로세스를 tree 형태로 출력 -o : output formatting --sort : sorting( cpu를 누가 얼마나 점유하고 있는지 sorting 할 때 ) 사용 예제 ps : ps 리스트 출력 ps -ef : 가장 많이 사용 (하지만 너무 많은 정보 출력) ps --help : ps옵션 확인 man ps : ps에 대한 man페이지 ps --ppid 1 -f : ppid가 1번인 프로세스 출력 ps -eF --sort=%mem : rss기준으로 오름..