차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

다음 판
이전 판
tech:ps_linux [2014/03/18 09:01] – 바깥 편집 127.0.0.1tech:ps_linux [2019/07/09 06:28] (현재) V_L
줄 1: 줄 1:
 +{{tag>tech ps_linux}}
 +======Ps Linux======
 +
 +
 +=====STAT 의 종류와 의미=====
 +
 +
 +부호         의   미 
 +R    수행 가능/수행중 
 +T    일시 정지 
 +P    페이지인을 기다림 
 +D    디스크 입출력 대기 같은 인터럽트 할 수 없는 대기중 
 +S    20초 미만의 짧게 잠듦 
 +I    20초 이상의 길게 잠듦 
 +Z    좀비 프로세스 
 +
 +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
 +====AIX FORMAT DESCRIPTORS====
 +This ps supports AIX format descriptors, which work somewhat like the formatting codes of
 +printf(1) and printf(3). For example, the normal default output can be produced with this:
 +ps -eo "%p %y %x %c". The NORMAL codes are described in the next section.
 +
 +       CODE   NORMAL   HEADER
 +       %C     pcpu     %CPU
 +       %G     group    GROUP
 +       %P     ppid     PPID
 +       %U     user     USER
 +       %a     args     COMMAND
 +       %c     comm     COMMAND
 +       %g     rgroup   RGROUP
 +       %n     nice     NI
 +       %p     pid      PID
 +       %r     pgid     PGID
 +       %t     etime    ELAPSED
 +       %u     ruser    RUSER
 +       %x     time     TIME
 +       %y     tty      TTY
 +       %z     vsz      VSZ
 +
 +