Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jan 1998 17:29:15 +0100 (CET)
From:      Mikael Karpberg <karpen@ocean.campus.luth.se>
To:        MOLAGAPP.IN.oracle.com.ofcmail@in.oracle.com (MUTHU)
Cc:        smp@freebsd.org
Subject:   Re: Simple question
Message-ID:  <199801021629.RAA06190@ocean.campus.luth.se>
In-Reply-To: <199801021132.GAA07126@dwarpal.in.oracle.com> from MUTHU at "Jan 2, 98 02:14:36 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801021629.RAA06190>