PS 명령어 이해가 안가는게 있습니다.(프로세스 상태)
글쓴이: yellowstone / 작성시간: 목, 2013/09/05 - 1:23오후
ps aux 명령어를 실행하면 제가 올린 사진과 같은 터미널에 현재 프로세스 상태를 보여주는데 본문에서 이해가 안가는 항목이 있습니다.
책에서는 R, S, D, T, Z, <, N등 프로세스 상태에 대한 설명이 나와있는데
Ss, Ssl, Sl, SNl, SNsl, SN, S<, Rl 에 대한 설명이 나와 있지 않습니다.
혹시 아시는분 있나요?
File attachments:
첨부 | 파일 크기 |
---|---|
![]() | 193.26 KB |
Forums:
http://unixhelp.ed.ac.uk/CGI/man-cgi?ps 여기보시면..
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.
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.
For BSD formats and when the stat keyword is used, additional
characters may be displayed:
< 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
저는 유닉스와는 거리가 머니 자세한 답변은 어렵지만 어쨌든 도움이 되었길 바랍니다.
--
댓글 달기