From owner-freebsd-questions Tue Jan 23 8:53:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from amber.ccs.neu.edu (amber.ccs.neu.edu [129.10.116.51]) by hub.freebsd.org (Postfix) with ESMTP id 0B20A37B402 for ; Tue, 23 Jan 2001 08:53:01 -0800 (PST) Received: from wei.ccs.neu.edu (prakash@wei.ccs.neu.edu [129.10.116.197]) by amber.ccs.neu.edu (8.10.0.Beta10/8.10.0.Beta10) with ESMTP id f0NGqlX03278; Tue, 23 Jan 2001 11:52:47 -0500 (EST) Date: Tue, 23 Jan 2001 11:52:47 -0500 (EST) From: Viswanathan Prakash To: Mike Meyer Cc: simakin , questions@FreeBSD.ORG Subject: Re: Re[2]: dual CPU under FreeBSD - does it really good thing? In-Reply-To: <14957.46610.789678.790962@guru.mired.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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? Thanks, Prakash On Tue, 23 Jan 2001, Mike Meyer wrote: > RW 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? > > > > >> 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 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message