ps -ef 명령어 궁금합니다.
작성자 정보
- 이경은 작성
- 작성일
컨텐츠 정보
- 2,558 조회
- 5 댓글
- 0 추천
- 목록
본문
ps -ef 명령어를 치면 이렇게 나옵니다.
ps -ef가 데몬이 뭐가 설치 되었는지 확인하는 명령어가 맞는지도 알고 싶습니다.
아니면 명령어좀 가르쳐 주세요.
아래 사항에 대해서 좀 자세한 설명 부탁드립니다.
그리고 UID에서 nobody라고 있는데 이게 가장 궁금합니다.
부탁드립니다.
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 04:44 ? 00:00:04 init
root 2 0 0 04:44 ? 00:00:00 [migration/0]
root 3 0 0 04:44 ? 00:00:00 [migration/1]
root 4 0 0 04:44 ? 00:00:00 [migration/2]
root 5 0 0 04:44 ? 00:00:00 [migration/3]
root 6 1 0 04:44 ? 00:00:00 [keventd]
root 7 1 0 04:44 ? 00:00:00 [ksoftirqd_CPU0]
root 8 1 0 04:44 ? 00:00:00 [ksoftirqd_CPU1]
root 9 1 0 04:44 ? 00:00:00 [ksoftirqd_CPU2]
root 10 1 0 04:44 ? 00:00:00 [ksoftirqd_CPU3]
root 15 1 0 04:44 ? 00:00:00 [bdflush]
root 11 1 0 04:44 ? 00:00:01 [kswapd]
root 16 1 0 04:44 ? 00:00:00 [kupdated]
root 17 1 0 04:44 ? 00:00:00 [mdrecoveryd]
root 23 1 0 04:44 ? 00:00:00 [scsi_eh_0]
root 24 1 0 04:44 ? 00:00:00 [scsi_eh_1]
root 27 1 0 04:44 ? 00:00:01 [kjournald]
root 85 1 0 04:45 ? 00:00:00 [khubd]
root 189 1 0 04:45 ? 00:00:00 [kjournald]
root 190 1 0 04:45 ? 00:00:00 [kjournald]
root 191 1 0 04:45 ? 00:00:02 [kjournald]
root 192 1 0 04:45 ? 00:00:02 [kjournald]
root 193 1 0 04:45 ? 00:00:00 [kjournald]
root 497 1 0 04:45 ? 00:00:00 syslogd -m 0
root 501 1 0 04:45 ? 00:00:00 klogd -x
rpc 519 1 0 04:45 ? 00:00:00 [portmap]
rpcuser 538 1 0 04:45 ? 00:00:00 [rpc.statd]
root 636 1 0 04:45 ? 00:00:00 /usr/sbin/sshd
root 650 1 0 04:45 ? 00:00:00 xinetd -stayalive -reuse -pidfile /var/run/xinetd.pid
root 669 1 0 04:45 ? 00:00:00 [sendmail]
smmsp 678 1 0 04:45 ? 00:00:00 [sendmail]
root 688 1 0 04:45 ? 00:00:00 gpm -t imps2 -m /dev/mouse
daemon 719 1 0 04:45 ? 00:00:00 [atd]
root 729 1 0 04:45 ? 00:00:02 /usr/local/apache/bin/httpd
nobody 731 729 0 04:45 ? 00:00:05 [httpd]
nobody 732 729 0 04:45 ? 00:00:05 [httpd]
nobody 733 729 0 04:45 ? 00:00:07 [httpd]
nobody 734 729 0 04:45 ? 00:00:07 [httpd]
nobody 735 729 0 04:45 ? 00:00:05 [httpd]
nobody 736 1 0 04:45 ? 00:00:00 [proftpd]
root 737 1 0 04:45 ? 00:00:00 /bin/sh /usr/local/mysql/bin/mysqld_safe
root 739 1 0 04:45 ? 00:00:01 [kjournald]
root 743 1 0 04:45 ? 00:00:00 login -- root
root 744 1 0 04:45 tty2 00:00:00 /sbin/mingetty tty2
root 745 1 0 04:45 tty3 00:00:00 /sbin/mingetty tty3
root 746 1 0 04:45 tty4 00:00:00 /sbin/mingetty tty4
root 747 1 0 04:45 tty5 00:00:00 /sbin/mingetty tty5
root 748 1 0 04:45 tty6 00:00:00 /sbin/mingetty tty6
mysql 764 737 0 04:45 ? 00:00:01 [mysqld]
nobody 774 729 0 04:45 ? 00:00:09 [httpd]
nobody 775 729 0 04:45 ? 00:00:08 [httpd]
nobody 776 729 0 04:45 ? 00:00:06 [httpd]
nobody 777 729 0 04:45 ? 00:00:07 [httpd]
nobody 778 729 0 04:45 ? 00:00:05 [httpd]
root 10723 636 0 08:17 ? 00:00:00 /usr/sbin/sshd
root 10730 10723 0 08:17 pts/0 00:00:00 -bash
root 11344 743 0 08:27 tty1 00:00:00 -bash
root 12066 10730 0 08:38 pts/0 00:00:00 more
nobody 14192 729 0 09:14 ? 00:00:00 [httpd]
nobody 14194 729 0 09:14 ? 00:00:00 [httpd]
nobody 15247 729 0 09:31 ? 00:00:00 [httpd]
nobody 15249 729 0 09:31 ? 00:00:00 [httpd]
nobody 15250 729 0 09:31 ? 00:00:00 [httpd]
nobody 15251 729 0 09:31 ? 00:00:00 [httpd]
nobody 15252 729 0 09:31 ? 00:00:00 [httpd]
nobody 15253 729 0 09:31 ? 00:00:00 [httpd]
nobody 15254 729 0 09:31 ? 00:00:02 [httpd]
nobody 15265 729 0 09:31 ? 00:00:00 [httpd]
nobody 15266 729 0 09:31 ? 00:00:00 [httpd]
nobody 16010 729 0 09:43 ? 00:00:00 [httpd]
nobody 16012 729 0 09:43 ? 00:00:00 [httpd]
nobody 16065 729 0 09:44 ? 00:00:00 [httpd]
nobody 16222 729 0 09:46 ? 00:00:00 [httpd]
nobody 16224 729 0 09:46 ? 00:00:00 [httpd]
nobody 16225 729 0 09:46 ? 00:00:00 [httpd]
nobody 16226 729 0 09:46 ? 00:00:00 [httpd]
nobody 16227 729 0 09:46 ? 00:00:00 [httpd]
nobody 16228 729 0 09:46 ? 00:00:00 [httpd]
nobody 16229 729 0 09:46 ? 00:00:00 [httpd]
nobody 16230 729 0 09:46 ? 00:00:00 [httpd]
nobody 16232 729 0 09:46 ? 00:00:00 [httpd]
nobody 16234 729 0 09:46 ? 00:00:00 [httpd]
nobody 16237 729 0 09:46 ? 00:00:00 [httpd]
nobody 16239 729 0 09:46 ? 00:00:00 [httpd]
nobody 16240 729 0 09:46 ? 00:00:00 [httpd]
nobody 16397 729 0 09:48 ? 00:00:00 [httpd]
nobody 16650 729 0 09:52 ? 00:00:00 [httpd]
nobody 16821 729 0 09:55 ? 00:00:00 [httpd]
nobody 16822 729 0 09:55 ? 00:00:00 [httpd]
nobody 16823 729 0 09:55 ? 00:00:02 [httpd]
nobody 16826 729 0 09:55 ? 00:00:00 [httpd]
nobody 16827 729 0 09:55 ? 00:00:00 [httpd]
nobody 16828 729 0 09:55 ? 00:00:00 [httpd]
nobody 16829 729 0 09:55 ? 00:00:00 [httpd]
nobody 16839 729 0 09:55 ? 00:00:00 [httpd]
nobody 16908 729 0 09:56 ? 00:00:00 [httpd]
nobody 16972 729 0 09:57 ? 00:00:00 [httpd]
nobody 16974 729 0 09:57 ? 00:00:00 [httpd]
nobody 17153 729 0 09:59 ? 00:00:00 [httpd]
nobody 17161 729 0 10:00 ? 00:00:00 [httpd]
nobody 17163 729 0 10:00 ? 00:00:00 [httpd]
nobody 17164 729 0 10:00 ? 00:00:01 [httpd]
nobody 17165 729 0 10:00 ? 00:00:00 [httpd]
nobody 17166 729 0 10:00 ? 00:00:00 [httpd]
nobody 17167 729 0 10:00 ? 00:00:00 [httpd]
nobody 17168 729 0 10:00 ? 00:00:00 [httpd]
nobody 17169 729 0 10:00 ? 00:00:00 [httpd]
nobody 17171 729 0 10:00 ? 00:00:00 [httpd]
nobody 17172 729 0 10:00 ? 00:00:00 [httpd]
nobody 17173 729 0 10:00 ? 00:00:00 [httpd]
nobody 17174 729 0 10:00 ? 00:00:00 [httpd]
nobody 17186 729 0 10:00 ? 00:00:00 [httpd]
nobody 17188 729 0 10:00 ? 00:00:00 [httpd]
nobody 17190 729 0 10:00 ? 00:00:00 [httpd]
nobody 17191 729 0 10:00 ? 00:00:00 [httpd]
nobody 17193 729 0 10:00 ? 00:00:00 [httpd]
nobody 17197 729 0 10:00 ? 00:00:00 [httpd]
nobody 17199 729 0 10:00 ? 00:00:00 [httpd]
nobody 17200 729 0 10:00 ? 00:00:00 [httpd]
nobody 17202 729 0 10:00 ? 00:00:00 [httpd]
nobody 17203 729 0 10:00 ? 00:00:00 [httpd]
nobody 17204 729 0 10:00 ? 00:00:00 [httpd]
nobody 17205 729 0 10:00 ? 00:00:00 [httpd]
nobody 17326 729 0 10:02 ? 00:00:00 [httpd]
nobody 17328 729 0 10:02 ? 00:00:00 [httpd]
nobody 17329 729 0 10:02 ? 00:00:00 [httpd]
nobody 17335 729 0 10:02 ? 00:00:00 [httpd]
nobody 17336 729 0 10:02 ? 00:00:00 [httpd]
nobody 17338 729 0 10:02 ? 00:00:00 [httpd]
nobody 17340 729 0 10:02 ? 00:00:00 [httpd]
nobody 17341 729 0 10:02 ? 00:00:00 [httpd]
nobody 17344 729 0 10:02 ? 00:00:00 [httpd]
nobody 17347 729 0 10:02 ? 00:00:00 [httpd]
nobody 17354 729 0 10:02 ? 00:00:00 [httpd]
nobody 17408 729 0 10:03 ? 00:00:00 [httpd]
nobody 17412 729 0 10:03 ? 00:00:00 [httpd]
nobody 17415 729 0 10:03 ? 00:00:00 [httpd]
nobody 17451 729 0 10:03 ? 00:00:00 [httpd]
nobody 17452 729 0 10:03 ? 00:00:00 [httpd]
nobody 17453 729 0 10:03 ? 00:00:00 [httpd]
nobody 17455 729 0 10:03 ? 00:00:00 [httpd]
nobody 17456 729 0 10:03 ? 00:00:00 [httpd]
nobody 17457 729 0 10:03 ? 00:00:00 [httpd]
nobody 17459 729 0 10:03 ? 00:00:00 [httpd]
nobody 17461 729 0 10:03 ? 00:00:00 [httpd]
nobody 17462 729 0 10:03 ? 00:00:00 [httpd]
nobody 17521 729 0 10:04 ? 00:00:00 [httpd]
nobody 17522 729 0 10:04 ? 00:00:00 [httpd]
nobody 17523 729 0 10:04 ? 00:00:00 [httpd]
nobody 17525 729 0 10:04 ? 00:00:00 [httpd]
nobody 17536 729 0 10:04 ? 00:00:00 [httpd]
nobody 17538 729 0 10:04 ? 00:00:00 [httpd]
nobody 17539 729 0 10:04 ? 00:00:00 [httpd]
nobody 17540 729 0 10:04 ? 00:00:00 [httpd]
nobody 17543 729 0 10:04 ? 00:00:00 [httpd]
nobody 17544 729 0 10:04 ? 00:00:00 [httpd]
nobody 17545 729 0 10:04 ? 00:00:00 [httpd]
nobody 17546 729 0 10:04 ? 00:00:00 [httpd]
nobody 17547 729 0 10:04 ? 00:00:00 [httpd]
nobody 17548 729 0 10:04 ? 00:00:00 [httpd]
nobody 17549 729 0 10:04 ? 00:00:00 [httpd]
nobody 17550 729 0 10:04 ? 00:00:00 [httpd]
nobody 17551 729 0 10:04 ? 00:00:00 [httpd]
nobody 17552 729 0 10:04 ? 00:00:00 [httpd]
nobody 17553 729 0 10:04 ? 00:00:00 [httpd]
nobody 17563 729 0 10:05 ? 00:00:00 [httpd <defunct>]
nobody 17564 729 0 10:05 ? 00:00:00 [httpd]
nobody 17575 729 0 10:05 ? 00:00:00 [httpd]
root 17635 10730 0 10:06 pts/0 00:00:00 ps -ef
관련자료
-
이전
-
다음
길손이님의 댓글
- 길손이
- 작성일
마지막으로 아파치 프로세스에서 UID가 nobody 인 것은 실제 데몬의 구동은 root로 하지만 웹서비스를 하는 것이 아파치의 목적이므로 누구나 접근이 가능한 nobody 유저로 서브 프로세스들이 구동 되는 것입니다. 실제 설정은 httpd.conf에서 USER에 설정하며 거기에 지정된 유저로 아파치 서브 프로세스들이 실행됩니다.
이경은님의 댓글
- 이경은
- 작성일
죄송한데 한가지만 더 물어보겠습니다.
rpc 519 1 0 04:45 ? 00:00:00 [portmap]
rpcuser 538 1 0 04:45 ? 00:00:00 [rpc.statd]
요건 먼가요?
혹시 rpc를 종료하면 안좋은가요?
그리고 위에 프로세스 중에 쓸모없는것도 있는지 부탁드립니다. ㅜㅜ
김태훈님의 댓글
- 김태훈
- 작성일
김태훈님의 댓글
- 김태훈
- 작성일
이경은님의 댓글
- 이경은
- 작성일