Initial import
This commit is contained in:
8
apache_memory_usage.sh
Executable file
8
apache_memory_usage.sh
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo ""
|
||||
ps -ylC httpd
|
||||
|
||||
echo ""
|
||||
ps -ylC httpd | awk '{x += $8;y += 1} END {print "Apache Memory Usage (MB): "x/1024; print "Average Proccess Size (MB): "x/((y-1)*1024)}'
|
||||
echo ""
|
||||
Reference in New Issue
Block a user