TOP shows above 100% WCPU usage

Dan Nelson dnelson at allantgroup.com
Thu Aug 17 19:26:06 UTC 2006


In the last episode (Aug 17), Brent Casavant said:
> Note that IRIX's top does not bias for availabile CPUs -- I've seen
> well-threaded programs using in excess of 2400% CPU.
> 
> What it comes down to is that depending on the nature of the
> information you're trying to glean from WCPU, you may want either
> view of the data. Some versions of top on Linux allow you to switch
> between IRIX and Solaris views.  From the help screen for top from
> procps 3.2.6 on Linux:
> 
>   1,I       Toggle SMP view: '1' single/separate states; 'I' Irix/Solaris mode
>
> There's really not a clear cut right and wrong here, particularly if
> your version of top is able to display per-thread instead of
> per-process data.  Sometimes you want to break out individual threads
> and see their level of CPU utilization (the IRIX view is most
> useful), sometimes you want to get a handle on which processes are
> loading down a machine (the Solaris view is most useful).

Is this similar to FreeBSD top's 'H' option?

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-stable mailing list