Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Sep 2006 21:16:23 +0200
From:      =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= <V.Haisman@sh.cvut.cz>
To:        freebsd-stable@freebsd.org
Subject:   (Wrong) CPU utilization reported by top
Message-ID:  <45158807.8090801@sh.cvut.cz>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi,
I have noticed that top reports strange values for CPU utilization. The
problem is that while it reports this for overall utilization...

CPU states: 40.8% user,  0.0% nice,  3.7% system,  4.5% interrupt, 50.9% idle

...it doesn't show a single process that would have over 1% of WCPU or CPU!

  PID USERNAME         THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
17980 xxxxx              1  96    0  5568K  3536K *Giant 213:05  0.00% silc
88370 xxxxxxxxx          1  96    0  5584K  3592K RUN    211:07  0.00% silc
93031 xxxxxx             5  20    0 58288K 40712K kserel 164:25  0.00% vlc
20223 xxx                5  20    0   238M 29572K kserel  36:04  0.00% java
17539 xxxxx              1  96    0 10692K  6032K select  26:51  0.00% centericq
30491 xxxxxx             1  96    0  7076K  4708K select  26:48  0.00%
ventrilo_srv

I am quite positive it is the vlc process that eats most of the reported 40%
of CPU because if I turn it off the user time goes down bellow 10%. But
despite that top shows zero in its row.

The box is uniprocessor x86 FreeBSD 6.1.

--
VH


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEVAwUBRRWID0NOZDESBK8FAQKFDAf/XHoq1Hu+DzXOzAGF6hfIH1sUAGtHCBGh
jK3+nnFRhptRg7sQyM8gAyXG16hkgwDK8Y0kIZHUXg7mMe1yxEr5TcZExUXA7ZeQ
7tp617h2/TA0DIvikC06fDiQzsD+AY2ve+j9cKij07wIh/S9UeMWU2mkSg8qE5a2
uMWhs/39O/6337tkilNsDfBT8ohKO8z9qnKXGfu0/ZCWEcdulgZqMW0cYjk0gv+u
AqhSmuIRnIK0vEmGxu8OGfuuquVUqjdK6J2oKfv1UNorKNAGEbQbblka3kOCh4MJ
2DusYWyswngZv4YFs6ThQGVTNkep9pKM5DJm8zij1hWo4dJCpBF7CQ==
=PVN4
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45158807.8090801>