Skip to content

Instantly share code, notes, and snippets.

@tinderfields
Created May 1, 2013 10:45
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 tinderfields/5494658 to your computer and use it in GitHub Desktop.
Save tinderfields/5494658 to your computer and use it in GitHub Desktop.
Linux / rails performance checks
#CPU
# http://www.cyberciti.biz/tips/how-do-i-find-out-linux-cpu-utilization.html
sudo apt-get install sysstat
mpstat
mpstat -P ALL
# Memory
# http://superuser.com/questions/398862/linux-find-out-what-process-is-using-all-the-ram
# Passenger
# http://blog.scoutapp.com/articles/2009/12/08/production-rails-tuning-with-passenger-passengermaxprocesses
passenger-memory-stats
passenger-status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment