Total procs,avg size(RSS)和Total mem use

.

0

linux命令:ps awwwux | grep httpd | grep -v grep | awk '{mem = $6; tot = $6 + tot; total++} END{printf("Total procs: %d\nAvg Size: %d KB\nTotal Mem Used: %f GB\n", total, mem / total, tot / 1024 / 1024)}' 1024)}' / 1024 / tot total, / mem total, GB\n", %f Used: Mem KB\nTotal %d Size: %d\nAvg procs: END{printf("Total total++} tot; + $6 = tot $6; = '{mem awk | grep -v grep | httpd grep | awwwux ps ps awwwux | grep httpd | grep -v grep | awk '{mem = $6; tot = $6 + tot; total++} END{printf("Total procs: %d\nAvg Size: %d KB\nTotal Mem Used: %f GB\n", total, mem / total, tot / 1024 / 1024)}'rootopen.com
linux命令:ps awwwux | grep httpd | grep -v grep | awk '{mem = $6; tot = $6 + tot; total++} END{printf("Total procs: %d\nAvg Size: %d KB\nTotal Mem Used: %f GB\n", total, mem / total, tot / 1024 / 1024)}' 1024)}' / 1024 / tot total, / mem total, GB\n", %f Used: Mem KB\nTotal %d Size: %d\nAvg procs: END{printf("Total total++} tot; + $6 = tot $6; = '{mem awk | grep -v grep | httpd grep | awwwux ps ps awwwux | grep httpd | grep -v grep | awk '{mem = $6; tot = $6 + tot; total++} END{printf("Total procs: %d\nAvg Size: %d KB\nTotal Mem Used: %f GB\n", total, mem / total, tot / 1024 / 1024)}'rootopen.com
rjaf 2018-03-30 06:40:48
输出

评论

相关推荐
共收录0条命令行
这里是记录和分享命令行的地方, 所有命令行都可以进行评论、提交替代方案.

热门文章