来源:http://blog.sina.com.cn/s/blog_7c35df9b01011hbv.html
查看机子有几个CPU以及每个CPU的详细信息
查看CPU的利用率
CPU %user
user 在internal时间段里,用户态的CPU时间(%),不包含 nice值为负 进程 (usr/total)*100
system 在internal时间段里,核心时间(%) (system/total)*100
nice 在internal时间段里,nice值为负进程的CPU时间(%) (nice/total)*100
idle 在internal时间段里,CPU除去等待磁盘IO操作外的因为任何原因而空闲的时间闲置时间(%)(idle/total)*100
irq 在internal时间段里,硬中断时间(%) (irq/total)*100
soft 在internal时间段里,软中断时间(%) (softirq/total)*100
intr/s 在internal时间段里,每秒CPU接收的中断的次数intr/total)*100