본문 바로가기

욕심쟁이 공부방/AIX

thread 상태 확인하는 커맨드

반응형

현재 thread의 상태를 확인하는 명령어

 

# ps -emo THREAD

 

                 THREAD
                   Indicates the following fields:
                     *    User name (the uname field)
                     *    Process and parent process IDs for processes (the pid and ppid fields)
                     *    Kernel thread ID for threads (the tid field)
                     *    The state of the process or kernel thread (the S field)
                     *    The CPU utilization of the process or kernel thread (the C field)
                     *    The priority of the process or kernel thread (the PRI field)
                     *    The suspend count of the process or kernel thread (the scount field)
                     *    The wait channel of the process or kernel thread (the WCHAN field)
                     *    The flags of the process or kernel thread (the F field)
                     *    The controlling terminal of the process (the tty field)
                     *    The CPU to which the process or kernel thread is bound (the bnd field)
                     *    The command being executed by the process (the comm field).
                   Threads are not actually displayed with the -o THREAD flag, unless the -m flag is also specified.

 

ST (혹은 S)에서의 각 항목의 의미

       S
            (-l and l flags) The state of the process or kernel thread :

            For processes:
              O  Nonexistent
                 
              A  Active
               
              W Swapped
                  
              I Idle (waiting for startup)
                  
              Z Canceled
                  
              T Stopped
                  
            For kernel threads:
              O Nonexistent
                  
              R Running
                  
              S Sleeping
              
              W Swapped
                  
              Z Canceled
                 
              T Stopped

반응형

'욕심쟁이 공부방 > AIX' 카테고리의 다른 글

password algorithm 변경  (0) 2018.11.13
umask  (0) 2018.11.13
no 파라미터 정리...ing  (0) 2018.11.09
0301-153 bosboot: /unix not found.  (0) 2018.11.09
errpt / FCA_ERR6  (0) 2018.11.09