Skip to content

Instantly share code, notes, and snippets.

@cearls
Created June 20, 2012 05:21
Show Gist options
  • Save cearls/2958263 to your computer and use it in GitHub Desktop.
Save cearls/2958263 to your computer and use it in GitHub Desktop.
WebFaction: Get memory usage total
ps -u $USER -o rss,command | grep -v peruser | 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