top different output

Alexander Best arundel at freebsd.org
Mon Nov 15 15:44:20 UTC 2010


On Sat Nov 13 10, Dan Nelson wrote:
> In the last episode (Nov 13):
> > Hi, Freebsd-questions.
> > *pls. redirect to right developers thread
> > 
> > in 7.2FreeBSD top show as:
> >  32 root       -68    -     0K    16K WAIT    72:24 10.25% irq16: rl0
> > 
> > in 9.0FreeBSD top show as:
> >  12 root       28 -28    -     0K   224K WAIT    3 223:03 42.77% intr
> > 
> > top -SIP
> > 
> > in 7 version top has better output because of I can see which interrupt
> > get CPU time, in 9 I can not
> 
> Interrupts are now processed as kernel threads.  Press "H" (or use -H on the
> commandline) in top to show each thread on its own line:

imo the top(1) manual documents the -H switch/option very badly. nobody will
ever discover it unless they know exactly what they're looking for.

i assume this is being done to keep consistency with the vendor version of the
top(1) manual, but there must be a better way doing this.

cheers.
alex

> 
> without H:
>    12 root         18 -60    -     0K   144K WAIT   624.2H  2.39% intr
> 
> with H:
>    12 root       -32    -     0K   144K WAIT   377.9H  2.78% {swi4: clock}
>    12 root       -68    -     0K   144K WAIT   245.9H  0.39% {irq22: fxp1}
> 
> -- 
> 	Dan Nelson
> 	dnelson at allantgroup.com

-- 
a13x


More information about the freebsd-questions mailing list