From owner-freebsd-current@FreeBSD.ORG Sat Jan 22 11:07:29 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A8E316A4CE for ; Sat, 22 Jan 2005 11:07:29 +0000 (GMT) Received: from mailout07.sul.t-online.com (mailout07.sul.t-online.com [194.25.134.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5FADA43D2F for ; Sat, 22 Jan 2005 11:07:28 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from fwd09.aul.t-online.de by mailout07.sul.t-online.com with smtp id 1CsJ71-0001V9-01; Sat, 22 Jan 2005 12:07:27 +0100 Received: from Andro-Beta.Leidinger.net (EfJI8eZeoeNzWYWTMhA2e8IKcoc7rrXe6CyTTq54I-kjSDM+G8Zm8g@[217.83.21.140]) by fmrl09.sul.t-online.com with esmtp id 1CsJ6r-1J2kgS0; Sat, 22 Jan 2005 12:07:17 +0100 Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) j0MB6IfN089518 for ; Sat, 22 Jan 2005 12:06:18 +0100 (CET) (envelope-from Alexander@Leidinger.net) Date: Sat, 22 Jan 2005 12:08:10 +0100 From: Alexander Leidinger To: current@freebsd.org Message-ID: <20050122120810.05b8a0e3@Magellan.Leidinger.net> X-Mailer: Sylpheed-Claws 1.0.0 (GTK+ 1.2.10; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-ID: EfJI8eZeoeNzWYWTMhA2e8IKcoc7rrXe6CyTTq54I-kjSDM+G8Zm8g@t-dialin.net X-TOI-MSGID: 6de2246e-acbb-43e3-913b-98106cbb23c4 Subject: Strange behavior of "top" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jan 2005 11:07:29 -0000 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 @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7