Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2005 00:33:44 -0700
From:      "David O'Brien" <obrien@FreeBSD.org>
To:        Giorgos Keramidas <keramida@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/contrib/top commands.c machine.h top.c src/usr.bin/top machine.c
Message-ID:  <20050523073344.GA65484@dragon.NUXI.org>
In-Reply-To: <200505181330.j4IDU8FV035625@repoman.freebsd.org>
References:  <200505181330.j4IDU8FV035625@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 18, 2005 at 01:30:08PM +0000, Giorgos Keramidas wrote:
> keramida    2005-05-18 13:30:08 UTC
> 
>   FreeBSD src repository (doc committer)
> 
>   Modified files:
>     contrib/top          commands.c machine.h top.c 
>     usr.bin/top          machine.c 
>   Log:
>   Merge the CPU and WCPU columns in a single %6.2f column, add a new 'C'
>   command that toggles between the two and update the ORDER_PCTCPU()
>   macro to sort correctly by the visible "cpu" value.

Having both CPU and WCPU are a lot more useful than showing the number of
threads.  Out of the top 70 processes I'm running right now, only _1_ is
multi-threaded.

How about backing all this out and making your toggle be between #threads
and something else -- with the something else being the default thing
shown.

I still don't know what was wrong with the 'H' display of top(1) which
was all about threading.

-- 
-- David  (obrien@FreeBSD.org)



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