Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2001 20:22:13 -0600 (CST)
From:      Mike Meyer <mwm@mired.org>
To:        Ralph Robinson <ralph@rkis.com>
Cc:        questions@freebsd.org
Subject:   Re: top -SMP
Message-ID:  <14949.469.831737.652646@guru.mired.org>
In-Reply-To: <30756096@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Ralph Robinson <ralph@rkis.com> types:
> This is from RedHat 7. My 6.2 and I beleve 5.2 looked the same
> I only have 2 in mine though.
> 
> Ralph
> 
> 3:02pm  up 2 days, 13:07,  1 user,  load average: 0.00, 0.00, 0.00
> 55 processes: 54 sleeping, 1 running, 0 zombie, 0 stopped
> CPU0 states:  1.0% user,  0.1% system,  0.0% nice, 97.0% idle
> CPU1 states:  0.0% user,  2.0% system,  0.0% nice, 97.0% idle
> Mem:    62816K av,   49884K used,   12932K free,   29188K shrd,    7172K buff
> Swap:  265032K av,    4252K used,  260780K free    24320K cached
> 
> ps: I got a weard dns error after I receved your email

Last time I checked, FreeBSD didn't collect state information on a
per-cpu basis. There are some kernel patches floating around to do
that; you'd need to apply those first. Check the archives for this
list to find them.

After you've done that, you can look into extending top/vmstat/etc. to
use it.

	<mike

> 
> Dan Nelson wrote:
> 
> > In the last episode (Jan 16), Ralph Robinson said:
> > > Would there be a way to change the format of top?
> > > When I run top on RedHat both cpu's are displayed at the top of the
> > > display
> >
> > hm?  None of the SMP Redhat boxes I have show any per-CPU information
> > in top, period:
> >
> >   2:59pm  up 12 days, 19:50,  8 users,  load average: 2.01, 1.70, 1.61
> > 121 processes: 120 sleeping, 1 running, 0 zombie, 0 stopped
> > CPU states:  0.2% user,  0.9% system,  0.0% nice,  0.8% idle
> > Mem:  2009944K av, 2006760K used,   3184K free, 3996364K shrd, 219652K buff
> > Swap: 979956K av,  16956K used, 963000K free                326636K cached
> >
> > In fact, I have to check /proc/cpuinfo just to be sure there are 4 CPUs
> > in the box at all.
> >
> > --
> >         Dan Nelson
> >         dnelson@emsphone.com
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
--
Mike Meyer <mwm@mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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