linux cpu监控

之前一直使用top监控cpu情况,发现多核时就不好看单核情况了。使用命令 

mpstat -P ALL 1 5
  即可,1表示1秒刷新一次,5表示采样5次。

猜你喜欢

转载自lydawen.iteye.com/blog/1483327
今日推荐