From owner-freebsd-questions@FreeBSD.ORG Fri May 21 16:15:47 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1471C16A4CE for ; Fri, 21 May 2004 16:15:47 -0700 (PDT) Received: from lakermmtao10.cox.net (lakermmtao10.cox.net [68.230.240.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8597C43D53 for ; Fri, 21 May 2004 16:15:46 -0700 (PDT) (envelope-from micheal@tsgincorporated.com) Received: from router.caverns.us.eu.org ([68.227.96.223]) by lakermmtao10.cox.netESMTP <20040521231541.MTRT24951.lakermmtao10.cox.net@router.caverns.us.eu.org>; Fri, 21 May 2004 19:15:41 -0400 Received: from dredster (dredster.rcservers.com [192.168.1.2]) i4LNFfJf042252; Fri, 21 May 2004 18:15:41 -0500 (CDT) (envelope-from micheal@tsgincorporated.com) Message-ID: <04cd01c43f89$99cbdb80$0201a8c0@dredster> From: "Micheal Patterson" To: "Nicholas Bernstein" , "freebsd-questions" References: <1085180123.14842.24.camel@nick.docmagic.com> Date: Fri, 21 May 2004 18:15:58 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: Re: Multiple CPUs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 23:15:47 -0000 ----- Original Message ----- From: "Nicholas Bernstein" To: "freebsd-questions" 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.