Initial import

This commit is contained in:
2017-02-21 02:20:36 +01:00
commit 9472a46bea
7 changed files with 3653 additions and 0 deletions

8
apache_memory_usage.sh Executable file
View 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 ""