linux性能监测

主要分成,CPU,Memory,IO

while :; do ps -eo pid,ni,pri,pcpu,psr,comm | grep 'httpd'; sleep 1; done

ab -n10000 -c100 http://192.168.1.213/index.php

mpstat

vmstat 是个查看系统整体性能的小工具,小巧、即使在很 heavy 的情况下也运行良好,并且可以用时间间隔采集得到连续的性能数据

 


你可能感兴趣的:(linux)