memory size of a whole process


/ Published in: Bash
Save to your folder(s)

resident memory


Copy this code and paste it in your HTML
  1. ps uax | grep "apache2 -k start" | grep -v grep | awk '{ s += $6 } END { print "sum is", s/1024, "Mb"}'

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.