- 论坛徽章:
- 0
|
回复 #8 飞鸿无痕 的帖子
我在用top时
last pid: 88760; load averages: 0.10, 0.04, 0.02 up 19+15:43:05 04:19:32
260 processes: 1 running, 252 sleeping, 7 stopped
CPU states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
Mem: 1041M Active, 28G Inact, 231M Wired, 1293M Cache, 214M Buf, 237M Free
Swap: 32G Total, 100K Used, 32G Free
会有CPU states这一行,可是如果我用top -n 1
last pid: 88864; load averages: 0.03, 0.03, 0.01 up 19+15:44:13 04:20:40
260 processes: 1 running, 252 sleeping, 7 stopped
Mem: 1040M Active, 28G Inact, 231M Wired, 1293M Cache, 214M Buf, 238M Free
Swap: 32G Total, 100K Used, 32G Free
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
2839 root 1 96 0 6640K 5212K select 0 16:03 0.00% nodeqd
那如果我想取出CPU States这一行,应该怎么取呢? |
|