1、ps查看进程 ps -ef | grep nginx [root@VM-0-2-centos nginx]# ps -ef | grep nginx root 1474 1 0 Mar16 ? 00:00:00 nginx: master process /usr/sbin/nginx root 1478 1474 0 Mar16 ? 00:00:05 nginx: worker process root 3687 1740 0 11:19 pts/0 00:00:00 gr