From owner-freebsd-current@FreeBSD.ORG Thu Oct 28 13:26:27 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20B2116A4CE for ; Thu, 28 Oct 2004 13:26:27 +0000 (GMT) Received: from mailserv1.neuroflux.com (mailserv1.neuroflux.com [204.228.228.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id C909843D41 for ; Thu, 28 Oct 2004 13:26:26 +0000 (GMT) (envelope-from ryans@gamersimpact.com) Received: (qmail 60804 invoked by uid 89); 28 Oct 2004 13:23:53 -0000 Received: from unknown (HELO www2.neuroflux.com) (127.0.0.1) by localhost with SMTP; 28 Oct 2004 13:23:53 -0000 Received: from 208.4.77.15 (SquirrelMail authenticated user ryans@gamersimpact.com); by www2.neuroflux.com with HTTP; Thu, 28 Oct 2004 07:23:53 -0600 (MDT) Message-ID: <61975.208.4.77.15.1098969833.squirrel@208.4.77.15> In-Reply-To: <4180EA86.6030001@yahoo.com> References: <4180EA86.6030001@yahoo.com> Date: Thu, 28 Oct 2004 07:23:53 -0600 (MDT) From: "Ryan Sommers" To: "Rob" User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal cc: freebsd-current Subject: Re: 5.3 & SMP How do I know my 2 CPUs are used? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Oct 2004 13:26:27 -0000 Rob said: > With the top command, I can't see anything special for my 2 CPUs. > Is that right? > > Rob. Top should have a column marked 'C': PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND 39138 root 96 0 16420K 15164K select 1 0:23 2.69% 2.69% XFree8 This shows what CPU the process is running on. Another sign to tell is sysctl hw.ncpu, or sysctl kern.smp.cpus -- Ryan Sommers ryans@gamersimpact.com