From nobody@FreeBSD.org  Thu Nov 20 22:25:51 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id BD57E1065678
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Nov 2008 22:25:51 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id A91438FC1C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Nov 2008 22:25:51 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id mAKMPphd062355
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 20 Nov 2008 22:25:51 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id mAKMPpjC062352;
	Thu, 20 Nov 2008 22:25:51 GMT
	(envelope-from nobody)
Message-Id: <200811202225.mAKMPpjC062352@www.freebsd.org>
Date: Thu, 20 Nov 2008 22:25:51 GMT
From: Eugen Konkov <kes-kes@yandex.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ambigious output for top
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         129027
>Category:       bin
>Synopsis:       ambigious output for top(1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 20 22:30:02 UTC 2008
>Closed-Date:    Fri Nov 21 08:36:10 UTC 2008
>Last-Modified:  Fri Nov 21 08:36:10 UTC 2008
>Originator:     Eugen Konkov
>Release:        
>Organization:
ISP Konkov
>Environment:
>Description:
NOTICE: idle, 5.8% and 74.85% what is right?

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:

From: Lowell Gilbert <freebsd-bugs-local@be-well.ilk.org>
To: Eugen Konkov <kes-kes@yandex.ru>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/129027: ambigious output for top
Date: Thu, 20 Nov 2008 17:43:13 -0500

 > 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.
 
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Fri Nov 21 08:36:09 UTC 2008 
State-Changed-Why:  
This is not a PR, this is a user question, which has an anwer already. 
Thanks for reporthing this, though I will be closing the ticket. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129027 
>Unformatted:
