最后活跃于 2 years ago

Malin 修订了这个 Gist 2 years ago. 转到此修订

1 file changed, 3 insertions

memory-usage.sh(文件已创建)

@@ -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)}'
上一页 下一页