Strange behavior of "top"

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Sat, 22 Jan 2005 12:08:10 +0100
Hi,

since my CPU monitor displayed a unexpected CPU usage I wanted to hunt
down the problem. But top displays a strange output. It tells me that
23% of CPU are used by userland processes. But I only see 1.5% used in
the process listing. The galeon-bin process shows alot of used CPU time
(for this small uptime), and I wouldn't be surprised if it is the galeon
process which is eating the majority of the CPU resources (I have ~85
tabs open with content), but I object to the 0% CPU display then.

The galeon process spends alot of time in the kserel state.

This is -current as of yesterday. Any ideas?

---snip---
last pid: 11906;  load averages:  0.19,  0.29,  0.30    up 0+01:27:11  11:58:54
74 processes:  2 running, 72 sleeping
CPU states: 23.2% user,  0.0% nice,  4.8% system,  0.2% interrupt, 71.8% idle
Mem: 269M Active, 78M Inact, 68M Wired, 656K Cache, 60M Buf, 78M Free
Swap: 1024M Total, 1024M Free
Username to show: 
  PID USERNAME PRI NICE   SIZE    RES STATE    TIME   WCPU    CPU COMMAND
  641 root      96    0   232M   229M RUN      2:03  1.56%  1.56% Xorg
 1168 netchild  20    0   127M   115M kserel  23:10  0.00%  0.00% galeon-bin
 1159 netchild  96    0 24068K 22120K select   0:34  0.00%  0.00% sylpheed-claw
 1157 netchild  -8    0  2580K  1176K piperd   0:21  0.00%  0.00% libgtop_serve
 1150 netchild  96    0 14364K 11504K select   0:09  0.00%  0.00% clock-applet
 1103 netchild  96    0 18284K 15280K select   0:04  0.00%  0.00% gaim
 1088 netchild  96    0  9188K  5880K select   0:04  0.00%  0.00% sawfish
 1093 netchild   8    0  7000K  4488K nanslp   0:03  0.00%  0.00% chbg
 1156 netchild  96    0 13552K 10596K select   0:03  0.00%  0.00% multiload-app
 1148 netchild  96    0 15768K 11876K select   0:03  0.00%  0.00% mixer_applet2
 1146 netchild  96    0 16016K 13052K select   0:02  0.00%  0.00% wnck-applet
 1091 netchild  96    0 18456K 15140K select   0:02  0.00%  0.00% gnome-panel
  615 root       8    0  1532K  1112K wait     0:02  0.00%  0.00% sh
  576 ganglia   20    0  2224K  1572K kserel   0:02  0.00%  0.00% gmond
  719 netchild  96    0  7620K  6540K select   0:01  0.00%  0.00% gconfd-2
  247 root      96    0  1616K  1204K select   0:01  0.00%  0.00% dhclient
  728 netchild  96    0 17648K 12976K select   0:01  0.00%  0.00% gnome-setting
 1152 netchild  20    0 16216K 12952K kserel   0:01  0.00%  0.00% gweather-appl
 1107 netchild  96    0  2416K  1828K select   0:01  0.00%  0.00% xmbmon
  698 netchild  96    0 16048K 12020K select   0:01  0.00%  0.00% gnome-session
 1109 netchild  20    0  2816K  2608K pause    0:01  0.00%  0.00% zsh
  279 root      96    0  1136K   752K select   0:01  0.00%  0.00% moused
 1097 netchild  96    0  4404K  3860K select   0:01  0.00%  0.00% xterm-static
---snip--

Bye,
Alexander.

-- 
         The computer revolution is over. The computers won.

http://www.Leidinger.net                       Alexander _at_ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7
Received on Sat Jan 22 2005 - 10:07:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:26 UTC