memory size of a whole process

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

virtual memory

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

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.