Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- #echo "Apache:"
- #apache2ctl status | grep requests
- export PATH=$PATH:/home/ruby/.rvm/gems/ree-1.8.7-2011.03/bin:/home/ruby/.rvm/gems/ree-1.8.7-2011.03@global/bin:/home/ruby/.rvm/rubies/ree-1.8.7-2011.03/bin:/home/ruby/.rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
- #echo "Passenger:"
- #passenger-status | grep -A 4 max
- set -e
- while true; do
- echo
- echo "---------------------------------------------"
- date
- echo
- passenger-status
- apache2ctl status
- top -b -n 1
- sleep 3
- done
Add Comment
Please, Sign In to add comment