Date: Fri, 21 May 2004 18:15:58 -0500 From: "Micheal Patterson" <micheal@tsgincorporated.com> To: "Nicholas Bernstein" <nick@docmagic.com>, "freebsd-questions" <freebsd-questions@freebsd.org> Subject: Re: Multiple CPUs Message-ID: <04cd01c43f89$99cbdb80$0201a8c0@dredster> References: <1085180123.14842.24.camel@nick.docmagic.com>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- From: "Nicholas Bernstein" <nick@docmagic.com> To: "freebsd-questions" <freebsd-questions@freebsd.org> Sent: Friday, May 21, 2004 5:55 PM Subject: Multiple CPUs > How can one detect if a system is using multiple CPUs? > I'm running freebsd 4.9 and I was hoping that either uname or top would > give some information as to whether or not the second cpu is being used. > dmegs outputs the following: > > CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2399.33-MHz 686-class CPU) > > but I want to make sure that this is not just showing it's been > detected, as opposed to being used. > > -- > Nicholas Bernstein, Unix Systems Administrator > Document Systems Inc. > http://docmagic.com > nick@docmagic.com > The first line of output from top shows the following information. The C column indicates that it's a multi-proc system and which CPU a given process is currently running on. PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND You can also "type /var/run/dmesg.boot" and it will show you the CPU information as well. -- Micheal Patterson TSG Network Administration 405-917-0600 Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?04cd01c43f89$99cbdb80$0201a8c0>