- 论坛徽章:
- 0
|
$ cat /proc/stat
cpu 58903 1 7337 221340
cpu0 58903 1 7337 221340
page 97604 92120
swap 1 0
intr 571041 287581 3738 0 0 3 0 2 0 0 0 0 56043 202215 0 21398 61 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
disk_io: (3,0):(21459,9839,195208,11620,184240)
ctxt 1719440
btime 1005238271
processes 4997
The individual "cpu" entry is will be the same as "cpu0" if you only have one CPU on your system. Otherwise the "cpu" entry will be a total of all the separate CPU stats.
The four numbers following "cpu" entries are:
—————————————————————————————
| user | nice | system | unused usage |
—————————————————————————————
| 用户态 | 低优先权用户模式 | 系统模式 | 空闲任务的时间 |
—————————————————————————————
The two numbers following the "page" entry are number of pages going in followed by the number of pages going out. Same goes for the "swap" entry. (交换页次数)
The "intr" entry show the number of interrupts. The first number is
the total interrupts between all IRQs. The remaining numbers are the interrupts for each IRQ in order. (磁盘请求——中断)
The "disk_io" shows data for each active disk. The above example only shows one active disk. The first pair is the major followed by the disk number entry. The others are:
+ - total number of I/O operations on this drive
+ - read I/O operations
+ - read I/O sectors
+ - write I/O operations
+ - write I/O sectors
"ctxt" the the contest switches. (上下文转换次数)
"btime" field the is up time of the system in seconds. (最后启动时间)
"processes" is the number of processes that have run since boot.
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/3767/showart_98182.html |
|