Skip to content

Instantly share code, notes, and snippets.

@ekinertac
Created Mar 2, 2020
Embed
What would you like to do?
ps -ylC apache2 | awk '{x += $8;y += 1} END {print "Apache Memory Usage (MB): "x/1024; print "Average Proccess Size (MB): "x/((y-1)*1024)}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment