는 방법을 알고 있는지 실행이나 바이너리는 처리 중 일부 요청 또는 바/유휴 상태 (실행하지 않는 상태)
고 싶지/을 죽이는 프로세스에 따라 처리하의 상태를 실행 파일을 실행합니다.
는 방법을 알고 있는지 실행이나 바이너리는 처리 중 일부 요청 또는 바/유휴 상태 (실행하지 않는 상태)
고 싶지/을 죽이는 프로세스에 따라 처리하의 상태를 실행 파일을 실행합니다.
을 확인할 수 있습 프로세스 상태의 코드를 사용하는 프로세스 ps
. 이를 줄 수 있는 상세한 통찰력의 현재 상태를 주어진 과정입니다.
에 따라 man 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) I Idle kernel thread R running or runnable (on run queue) S interruptible sleep (waiting for an event to complete) T stopped by job control signal t stopped by debugger during the tracing 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
당신은 할 수 있습니 다음과 같습니다.
ps --no-headers -o pid,state -p PID
는 것 출력의 한 문자를 나타내는 프로세스 상태가 위에서 주어진 프로세스의 PID.
할 수 있도 ps --no-headers -o pid,state -p $(pgrep app_name)
. 이것은 출력의 현재 상태를 모든 프로세스에 의해 실행 주어진 응용 프로그램.