From owner-freebsd-questions Tue Jan 23 9: 5:51 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 4184237B402 for ; Tue, 23 Jan 2001 09:05:30 -0800 (PST) Received: (qmail 2996 invoked by uid 100); 23 Jan 2001 17:05:29 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14957.47577.716909.618200@guru.mired.org> Date: Tue, 23 Jan 2001 11:05:29 -0600 (CST) To: Viswanathan Prakash Cc: simakin , questions@FreeBSD.ORG Subject: Re: Re[2]: dual CPU under FreeBSD - does it really good thing? In-Reply-To: References: <14957.46610.789678.790962@guru.mired.org> X-Mailer: VM 6.75 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Viswanathan Prakash 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. 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 > > -- 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