리눅스 ps

Jmnote (토론 | 기여)님의 2020년 2월 27일 (목) 22:31 판 (→‎주석)

1 개요

리눅스 ps[1]
/bin/ps

2 예시 1: ps

[root@zetawiki ~]# ps
  PID TTY          TIME CMD
 8806 pts/0    00:00:00 bash
 8839 pts/0    00:00:00 ps

3 예시 2: ps aux ★★

[root@zetawiki ~]# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0  10368    80 ?        Ss   Oct23   0:03 init [3]                                        
root         2  0.0  0.0      0     0 ?        S<   Oct23   0:01 [migration/0]
root         3  0.0  0.0      0     0 ?        SN   Oct23   0:00 [ksoftirqd/0]
... (생략)

4 예시 3: ps -ef ★★

  • 흔히 쓰이는 옵션
  • PIDPPID 등 확인 가능
[root@zetawiki ~]# ps -ef
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 Oct23 ?        00:00:03 init [3]                                               
root         2     1  0 Oct23 ?        00:00:01 [migration/0]
root         3     1  0 Oct23 ?        00:00:00 [ksoftirqd/0]
... (생략)

5 같이 보기

6 참고

  1. ← process
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}