|
发表于 2006-2-6 20:20:22
|
显示全部楼层
这是我在 Konsole 里运行 top, 在系统一顿一顿时抓回来的结果
[code:1]
top - 20:19:52 up 46 min, 4 users, load average: 1.37, 0.98, 1.12
Tasks: 98 total, 1 running, 97 sleeping, 0 stopped, 0 zombie
Cpu(s): 10.0% us, 1.9% sy, 0.0% ni, 63.8% id, 24.1% wa, 0.3% hi, 0.0% si
Mem: 254192k total, 251184k used, 3008k free, 544k buffers
Swap: 0k total, 0k used, 0k free, 19428k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3046 zslevin 16 0 112m 49m 7528 D 7.5 19.8 0:22.84 konqueror
2221 root 15 0 118m 26m 616 S 2.2 10.7 2:08.24 X
2397 zslevin 15 0 55308 7716 2400 S 0.9 3.0 0:02.63 konsole
3088 zslevin 16 0 46512 3864 1924 S 0.9 1.5 0:00.16 kio_http
3047 zslevin 17 0 1956 684 444 R 0.6 0.3 0:00.86 top
148 root 15 0 0 0 0 D 0.3 0.0 0:01.14 kswapd0
2327 zslevin 15 0 26060 2004 760 S 0.3 0.8 0:00.86 dcopserver
2332 zslevin 15 0 65228 9.9m 2396 S 0.3 4.0 0:04.30 kded
2529 zslevin 15 0 148m 19m 1432 S 0.3 7.9 0:39.72 amarokapp
3140 zslevin 16 0 46384 3764 1920 S 0.3 1.5 0:00.16 kio_http
3172 zslevin 17 0 46384 4504 2632 D 0.3 1.8 0:00.08 kio_http
1 root 16 0 1540 272 208 S 0.0 0.1 0:01.23 init
[/code:1]
man top 后得知
[code:1]
w: S -- Process Status
The status of the task which can be one of:
'D' = uninterruptible sleep
'R' = running
'S' = sleeping
'T' = traced or stopped
'Z' = zombie
[/code:1]
感觉上, 一出现 uninterruptible sleep 状态的进程时, 系统便变得慢.
大家可以开 top, 然后多打开几个网页和图片试试. |
|