By Alvin Alexander. Last updated: August 30, 2016
This ended up being a good Unix pipeline command to use to find the size of Apache 2 processes on an Ubuntu Linux system:
ps aux | grep 'apache' | awk '{print $6/1024 " MB";}'
The $6
variable refers to the RSS field in the ps
output. I found the command on this page.