Skip to content

Instantly share code, notes, and snippets.

@caingougou
Created January 8, 2013 03:52
Show Gist options
  • Save caingougou/4481022 to your computer and use it in GitHub Desktop.
Save caingougou/4481022 to your computer and use it in GitHub Desktop.
check php process is still alive
ps aux|grep "/usr/bin/php"|wc -l|awk '{print $1-1}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment