Skip to content

Instantly share code, notes, and snippets.

@s4l1h
Created March 13, 2012 11:12
Show Gist options
  • Save s4l1h/2028168 to your computer and use it in GitHub Desktop.
Save s4l1h/2028168 to your computer and use it in GitHub Desktop.
Nginx'in ne kadar ram kullandığı gösterir.
#/bin/sh
total=0; for i in `ps -C nginx -o rss=`; do total=$(($total+$i)); done; echo "Nginx memory usage: $total kb";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment