Malin revisó este gist . Ir a la revisión
1 file changed, 3 insertions
memory-usage.sh(archivo creado)
@@ -0,0 +1,3 @@ | |||
1 | + | # Determine memory usage of Apache | |
2 | + | ||
3 | + | 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)}' |
Siguiente
Anterior