From owner-freebsd-smp Fri Jan 2 08:31:24 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA11014 for smp-outgoing; Fri, 2 Jan 1998 08:31:24 -0800 (PST) (envelope-from owner-freebsd-smp) Received: from ocean.campus.luth.se (ocean.campus.luth.se [130.240.194.116]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA11002 for ; Fri, 2 Jan 1998 08:31:12 -0800 (PST) (envelope-from karpen@ocean.campus.luth.se) Received: (from karpen@localhost) by ocean.campus.luth.se (8.8.8/8.8.8) id RAA06190; Fri, 2 Jan 1998 17:29:15 +0100 (CET) (envelope-from karpen) From: Mikael Karpberg Message-Id: <199801021629.RAA06190@ocean.campus.luth.se> Subject: Re: Simple question In-Reply-To: <199801021132.GAA07126@dwarpal.in.oracle.com> from MUTHU at "Jan 2, 98 02:14:36 pm" To: MOLAGAPP.IN.oracle.com.ofcmail@in.oracle.com (MUTHU) Date: Fri, 2 Jan 1998 17:29:15 +0100 (CET) Cc: smp@freebsd.org X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk According to MUTHU: > How do I test the smp kernel or uniprocess kernel? Is there is any test > scripts or any other way? Umm... will "sysctl -n hw.ncpu" do what you want? It should print the number of CPUs, and on a non-SMP kernel that ought to be 1, even with two processors in the machine, I think. /Mikael