리눅스 프로세스 상태코드

Jmnote (토론 | 기여)님의 2014년 8월 10일 (일) 19:17 판 (→‎같이 보기)
Linux process state codes
리눅스 프로세스 상태 코드

1 목록

코드 설명
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.
W paging (not valid since the 2.6.xx kernel)
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 }}