/ Published in: Bash
resident memory
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
ps uax | grep "apache2 -k start" | grep -v grep | awk '{ s += $6 } END { print "sum is", s/1024, "Mb"}'
ps uax | grep "apache2 -k start" | grep -v grep | awk '{ s += $6 } END { print "sum is", s/1024, "Mb"}'