Skip to content

Instantly share code, notes, and snippets.

@clodio
Last active August 29, 2015 14:17
Show Gist options
  • Save clodio/0e9166a8602a4d69862d to your computer and use it in GitHub Desktop.
Save clodio/0e9166a8602a4d69862d to your computer and use it in GitHub Desktop.
count apache process, server status
while true; do date; ps aux | grep prefork | wc -l; sleep 10; done
while true; do curl -il http://localhost/server-status | head -n40; sleep 2; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment