赞
踩
有时候需要查看某进程的位置或启动参数可用 ps -ef | grep httpd
列序号 | 列含义 | 列含义说明 |
---|---|---|
1 | UID | 用户标识ID |
2 | PID | 进程ID |
3. | PPID | 父进程ID |
4 | C | CPU占用率 |
5 | STIME | 进程开始时间 |
6 | TTY | 启动此进程的TTY(终端设备) |
7 | TIME | 此进程运行的总时间 |
8 | CMD | 完整的命令名(带启动参数) |
[root@iZ2z sbin]# ps -ef|grep httpd
root 2003 1 0 Jun05 ? 00:00:04 /usr/sbin/httpd
www 2348 2003 0 Jun05 ? 00:00:00 /usr/sbin/httpd
www 2740 2003 0 Jun05 ? 00:00:00 /usr/sbin/httpd
www 2741 2003 0 Jun05 ? 00:00:00 /usr/sbin/httpd
www 2744 2003 0 Jun05 ? 00:00:00 /usr/sbin/httpd
root 4795 4763 0 12:41 pts/0 00:00:00 grep httpd
[root@iZ2ze5pvd5ucfl7adg2lrnZ sbin]# /usr/sbin/httpd -S
VirtualHost configuration:
172.0.0.1:80 is a NameVirtualHost
default server xxx (/etc/httpd/conf/httpd.conf:1017)
port 80 namevhost xxx (/etc/httpd/conf/httpd.conf:1017)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。