리눅스 프로세스 상태코드

(프로세스 상태 코드에서 넘어옴)
Linux process status, Linux process state codes
리눅스 프로세스 상태, 리눅스 프로세스 상태 코드

1 목록[ | ]

코드 설명 (영어) 설명 (한국어)
D Uninterruptible sleep (usually IO) 깨울 수 없는 잠 (보통 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. 중지됨 (작업 제어 신호를 받거나 트레이싱 때문에)
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. 좀비 프로세스, 종료되었으나 부모 프로세스에 의해 수습되지 않음

2 실습[ | ]

ps aux의 STAT 컬럼에서 확인 가능

[root@test01 ~]# ps aux | grep D
PID    %CPU %MEM  VSZ  RSS TTY    STAT   START   TIME COMMAND
18028  0.0  0.0 12508 1468 ?        D    May03   0:00 /usr/bin/vim tags
18067  0.0  0.0  1492  384 ?        D    May03   0:00 grep inode tags
18738  0.0  0.0  1592  416 ?        D    May03   0:01 grep -nr i_fops B
27505  0.0  0.0  2496  464 ?        D    May06   0:00 cp -r linux/ ../c
552    0.0  0.0  3864 1572 ?        D    May07   0:00 [in.ftpd]

3 같이 보기[ | ]

4 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}