Skip to content

Instantly share code, notes, and snippets.

@rutger1140
Created December 7, 2012 14:18
Show Gist options
  • Save rutger1140/4233523 to your computer and use it in GitHub Desktop.
Save rutger1140/4233523 to your computer and use it in GitHub Desktop.
Webfaction - check memory usage
ps -u $USER -o rss,command | grep -v peruser | grep -v 'ps -u' | awk '{sum+=$1} END {print sum/1024}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment