查找nginx按照位置

[root@nginx /]# whereis nginx
nginx: /usr/sbin/nginx /etc/nginx /etc/nginx.tar.gz /usr/share/nginx
[root@nginx html]# ps aux|grep nginx
root      2954  0.0  0.1  47164  4064 ?        Ss   Nov07   0:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
nginx     3006  0.0  0.1  47168  4024 ?        S    Nov07   5:29 nginx: worker process                   
root     14445  0.0  0.0 103304   892 pts/0    S+   15:13   0:00 grep nginx

猜你喜欢

转载自liuna718-163-com.iteye.com/blog/2344672