misc/129027: ambigious output for top
Lowell Gilbert
freebsd-bugs-local at be-well.ilk.org
Thu Nov 20 15:10:06 PST 2008
The following reply was made to PR bin/129027; it has been noted by GNATS.
From: Lowell Gilbert <freebsd-bugs-local at be-well.ilk.org>
To: Eugen Konkov <kes-kes at yandex.ru>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: misc/129027: ambigious output for top
Date: Thu, 20 Nov 2008 17:43:13 -0500
Eugen Konkov <kes-kes at yandex.ru> writes:
>>Number: 129027
>>Category: misc
>>Synopsis: ambigious output for top
>>Confidential: no
>>Severity: non-critical
>>Priority: low
>>Responsible: freebsd-bugs
>>State: open
>>Quarter:
>>Keywords:
>>Date-Required:
>>Class: sw-bug
>>Submitter-Id: current-users
>>Arrival-Date: Thu Nov 20 22:30:02 UTC 2008
>>Closed-Date:
>>Last-Modified:
>>Originator: Eugen Konkov
>>Release:
>>Organization:
> ISP Konkov
>>Environment:
>>Description:
> NOTICE: idle, 5.8% and 74.85% what is right?
The 74.85 is "WCPU", and the "5.8" is "CPU".
The former is calculated over a longer period of time than the latter.
The manual for top(1) mentions the distinction, and how to switch the
per-process value between both modes.
> top -SI
>
> CPU: 32.2% user, 0.0% nice, 50.8% system, 11.2% interrupt, 5.8% idle
> Mem: 248M Active, 113M Inact, 108M Wired, 17M Cache, 60M Buf, 7856K Free
> Swap: 1024M Total, 31M Used, 992M Free, 3% Inuse
>
> PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND
> 11 root 1 171 ki31 0K 8K RUN 66.8H 74.85% idle
> 1330 mysql 37 61 0 51732K 17700K RUN 9:52 17.72% mysqld
> 41803 root 1 47 0 6036K 2852K select 219:29 2.64% ppp
> 19 root 1 -68 - 0K 8K WAIT 85:21 1.12% irq11: rl0 rl4+
> 22 root 1 -68 - 0K 8K WAIT 63:57 0.78% irq5: rl1 rl2
> 12 root 1 -44 - 0K 8K WAIT 88:33 0.29% swi1: net
> 96385 root 1 -32 0 3532K 1652K RUN 0:00 0.10% top
> 55095 freeradius 9 4 0 58984K 54560K sbwait 0:21 0.05% radiusd
>
>
>>How-To-Repeat:
> #top -SI
>>Fix:
>
>
>>Release-Note:
>>Audit-Trail:
>>Unformatted:
> _______________________________________________
> freebsd-bugs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
> To unsubscribe, send any mail to "freebsd-bugs-unsubscribe at freebsd.org"
More information about the freebsd-bugs
mailing list