Initial import

This commit is contained in:
2017-02-21 02:31:30 +01:00
commit 9ec6b1c2e1
12 changed files with 2770 additions and 0 deletions

8
mysql_memory_usage.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
echo ""
ps -ylC mysqld
echo ""
ps -ylC mysqld | awk '{x += $8;y += 1} END {print "MySQL Memory Usage (MB): "x/1024; print "Average Proccess Size (MB): "x/((y-1)*1024)}'
echo ""