From owner-freebsd-questions Tue Jan 23 8:59:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from staff.uk.psi.com (staff.uk.psi.com [154.8.2.2]) by hub.freebsd.org (Postfix) with ESMTP id 49F9237B401 for ; Tue, 23 Jan 2001 08:59:01 -0800 (PST) Received: from hre (ip140.dc-eng.uk.psi.com [154.8.27.140]) by staff.uk.psi.com (8.8.4/) with SMTP id QAA01679; Tue, 23 Jan 2001 16:56:52 GMT From: "Dan Cuthbert" To: "Viswanathan Prakash" , "Mike Meyer" Cc: "simakin" , Subject: RE: Re[2]: dual CPU under FreeBSD - does it really good thing? Date: Tue, 23 Jan 2001 17:00:05 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 is top what your looking for? - -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Viswanathan Prakash Sent: 23 January 2001 16:53 To: Mike Meyer Cc: simakin; questions@FreeBSD.ORG Subject: Re: Re[2]: dual CPU under FreeBSD - does it really good thing? 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 -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 6.5.8 for non-commercial use iQA/AwUBOm24ldg3Mtg4nR8oEQK61ACg9Z/T8KVUf9ZM1TESM/IM/ISkk5QAoK5u +ndt126x3AmzVxqrh3lEFena =dJSv -----END PGP SIGNATURE----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message