Skip to content

Instantly share code, notes, and snippets.

Created January 9, 2013 10:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/40ea312cd05fb1bb887d to your computer and use it in GitHub Desktop.
Save anonymous/40ea312cd05fb1bb887d to your computer and use it in GitHub Desktop.
running 'ps aux | grep 'nginx: master'' on ausprod
1000 19790 0.0 0.0 9408 1152 ? Ss 21:18 0:00 bash -c ps aux | grep 'nginx: master'
1000 19792 0.0 0.0 6504 628 ? S 21:18 0:00 grep nginx: master
root 31185 0.0 0.0 37544 1188 ? Ss 2012 0:00 nginx: master process /opt/nginx/sbin/nginx
running 'pgrep -f 'nginx: master' || echo 'NOT_FOUND'' on ausprod
19795
31185
running 'ps aux | grep 'nginx: master'' on ausprod
1000 19797 0.0 0.0 9408 1156 ? Ss 21:18 0:00 bash -c ps aux | grep 'nginx: master'
1000 19799 0.0 0.0 6504 628 ? S 21:18 0:00 grep nginx: master
root 31185 0.0 0.0 37544 1188 ? Ss 2012 0:00 nginx: master process /opt/nginx/sbin/nginx
running 'if [ -e /var/run/nginx.pid ]; then cat /var/run/nginx.pid || echo PID_IS_EMPTY; else echo 'PID_FILE_NOT_FOUND'; fi' on ausprod
31185
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment