ps 명령어로 나오는 프로세스의 상태코드

Posted by 빵빵빵
2016/01/05 10:00 전산(컴퓨터)/리눅스



ps 명령어를 사용하면 프로세스의 상태를 알 수 있는데, 코드로 되어 있다. ㅡㅡ;;;;
코드의 의미를 알아보자.

man ps 명령어를 실행 하면 PROCESS STATE CODES 항목에서 의미를 알 수 있다.
근데 피부에 확 와닿지는 않네. ㅠㅠ 대충 해석해 볼란다. 틀려도 믿지 말아라.... 책임 안진다잉~
PROCESS STATE CODES
       Here are the different values that the s, stat and state output specifiers (header "STAT" or "S") will display to describe the state of a process:
D uninterruptible sleep (usually IO) : 종료되지 않는 대기(일반적인 입출력) R running or runnable (on run queue) : 실행중 혹은 실행대기 S interruptible sleep (waiting for an event to complete) : 중지될 수 있는 대기(완료 이벤트를 기다리는 중) T stopped, either by a job control signal or because it is being traced. : 중지됨, 작업 컨트롤 시그널 혹은 traced W paging (not valid since the 2.6.xx kernel) : 페이징(커널 2.6.xx이후로 유효하지 않음) X dead (should never be seen) : 죽었다..(볼일이 없어야 한다) Z defunct ("zombie") process, terminated but not reaped by its parent. : 좀비 프로세스, 종료되었지만 부모 프로세스가 뒷처리를 하지 않은 경우 For BSD formats and when the stat keyword is used, additional characters may be displayed: BSD 포맷에서는 다음 문자가 나올 수도 있다. < high-priority (not nice to other users) : 고 우선순위 N low-priority (nice to other users) : 저 우선순위 L has pages locked into memory (for real-time and custom IO) : 메모리로 페이지가 잠겨??? 뭔소링경 s is a session leader : 세션 리더???? 뭐냥?? l is multi-threaded (using CLONE_THREAD, like NPTL pthreads do) : 멀티 쓰레드 + is in the foreground process group. : 포그라운드 프로세스 그룹(한글로 소리나는 대로 썻넹.... ㅡㅡ;;)
2016/01/05 10:00 2016/01/05 10:00

이 글에는 트랙백을 보낼 수 없습니다