Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2001 11:05:29 -0600 (CST)
From:      Mike Meyer <mwm@mired.org>
To:        Viswanathan Prakash <prakash@ccs.neu.edu>
Cc:        simakin <simakin@rw.ru>, questions@FreeBSD.ORG
Subject:   Re: Re[2]: dual CPU under FreeBSD - does it really good thing?
Message-ID:  <14957.47577.716909.618200@guru.mired.org>
In-Reply-To: <Pine.GSO.4.21.0101231151390.15188-100000@wei.ccs.neu.edu>
References:  <14957.46610.789678.790962@guru.mired.org> <Pine.GSO.4.21.0101231151390.15188-100000@wei.ccs.neu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Viswanathan Prakash <prakash@ccs.neu.edu> types:
> 
> Hi. I was following this discussion and had a question. Is there a
> utility, like osview on Solaris, which lets you look at CPU utilization,
> load, etc?

There are a number of them. Dan mentioned top, and there's gkrellm and
xosview in the ports.

However, FreeBDS does not track usage information per-CPU, just for
the system as a whole.

	<mike


> Thanks,
> 
> Prakash
> 
> On Tue, 23 Jan 2001, Mike Meyer wrote:
> 
> > RW <simakin@rw.ru> types:
> > > Thank you, Mike!
> > > 
> > > I try to explain my question - can I tell to process (apache, for
> > > example) to work only on first (or second) CPU?
> > > Does it possible to execute something like
> > >      /usr/local/sbin/snmpd &2  # using second CPU
> > > or like this
> > >      cpu_manager cpu=2 process=/usr/local/sbin/snmpd
> > > May be stupid example, but in NT we can point to services on which cpu
> > > they must run.
> > 
> > Nope, you can't do that. Given that the two processors are treated
> > symmetrically (that's what the S in SMP is for), why would you want to
> > run it on anything other than the first available CPU?
> > 
> > 	<mike
> > 
> > > >>  Can I separate tasks between different CPUs?
> > > MM> I'm not sure what you're asking.  You can't specify which CPU a task
> > > MM> winds up on, or which tasks wind up on different CPUs. You can break
> > > MM> your computing job up into tasks however you want to, but the system
> > > MM> will decide which tasks run on which CPU.
> > > 
> > > 
> > > 
> > --
> > 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
> > 
> 
> -- 
> Prakash
> 
> 
--
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?14957.47577.716909.618200>