#ps aux|grep nginx

root 1231 0.0 0.0 46336 956 ? Ss 04:21 0:00 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
nginx 1232 0.0 0.2 46808 2144 ? S 04:21 0:00 nginx: worker process
root 1247 0.0 0.0 112660 972 pts/0 R+ 04:56 0:00 grep --color=auto nginx

# ls -l /proc/1231/exe

lrwxrwxrwx. 1 root root 0 Nov 6 04:24 /proc/1231/exe -> /usr/sbin/nginx

 

相关文章:

  • 2021-12-28
  • 2021-11-28
  • 2021-08-06
  • 2022-12-23
  • 2022-02-18
  • 2022-12-23
  • 2021-11-29
猜你喜欢
  • 2021-12-28
  • 2021-08-16
  • 2021-12-03
  • 2022-12-23
  • 2021-12-09
  • 2022-12-23
  • 2021-05-23
相关资源
相似解决方案