BSD ½Ã½ºÅÛ¿¡¼ Àüü ÇÁ·Î¼¼½ºÀÇ »óŸ¦ º¸°í ½ÍÀ» ¶§´Â
ps -aux¸í·ÉÀ» »ç¿ëÇÑ´Ù. ´ÙÀ½ÀÇ Ç¥´Â
ps -auxÀÇ °¢ Çʵ忡 ´ëÇÑ ¼³¸íÀÌ´Ù.
USER PID %CPU %MEM VSZ RSS TT STAT TIME COMMAND
setup 12600 0.0 0.0 468 196 p5 Slp 0:02 -csh (csh)
setup 13093 0.0 0.0 796 464 p5 Run 0:00 ps -aux
khokim 13936 0.0 0.0 10320 8864 p6 Slp 4:43 tin
khokim 14161 0.0 0.0 460 188 p6 Slp 0:02 -csh (csh)
root 14306 0.0 0.0 212 108 p6 Slp 1:11 telnetd
...
Field
Contents
User ÇÁ·Î¼¼½ºÀÇ ownerÀÇ ID
PID Process ID
VSZ ÇÁ·Î¼¼½ºÀÇ virtual size (Kilobyte)
RSS ½ÇÁ¦ ¸Þ¸ð¸®¿¡ ¿Ã¶ó¿ÍÀÖ´Â ¾ç (1KB pageÀÇ °¹¼ö)
TT Control terminal ID
STAT ÇÁ·Î¼¼½º »óÅÂ
R: runnable, D: in disk wait, I: sleeping < 20sec,
S: sleeping > 20sec, T: stopped, Z: zombie
Additional flag
L: ÀϺΠpage°¡ lockµÇ¾î ÀÖ´Ù.
s: ÇÁ·Î¼¼½º groupÀÇ leader (head of control terminal)
W: swapped out
+: control terminal¿¡¼ foreground·Î ½ÇÇàµÇ´Â ÇÁ·Î¼¼½º
START ÇÁ·Î¼¼½ºÀÇ ½ÃÀ۽ð£
TIME ÇÁ·Î¼¼½º°¡ »ç¿ëÇÑ CPU ½Ã°£
COMMAND ÇÁ·Î¼¼½º°¡ ½ÇÇàµÈ command¿Í argument
System V system
System V °è¿ÀÇ ½Ã½ºÅÛ¿¡¼´Â ps -ef¸¦ °¡Àå ¸¹ÀÌ »ç¿ëÇÑ´Ù.
UID PID PPID C STIME TTY TIME COMD
root 0 0 58 Apr 18 ? 0:01 sched
root 1 0 80 Apr 18 ? 0:03 /etc/init -
root 2 0 71 Apr 18 ? 0:01 pageout
root 3 0 80 Apr 18 ? 12:31 fsflush
root 227 1 20 Apr 18 ? 0:00 /usr/lib/saf/sac -t 300
...
Field Content
UID ownerÀÇ ID
PID Process ID
PPID parent processÀÇ PID
C CPU use/sheduling info
STIME ÇÁ·Î¼¼½ºÀÇ ½ÃÀ۽ð£
TTY control terminal
TIME Áö±Ý±îÁö »ç¿ëÇÑ CPU ½Ã°£
COMD command¿Í argument
|