On Fri, Nov 29, 2002 at 01:25:09PM +0100, Jens Ruehmkorf wrote: > On Thu, 28 Nov 2002, sean finney wrote: > > On Wed, Nov 27, 2002 at 06:45:21PM -0500, Michael Stone wrote: > > > Can you detect smp from non-smp kernel? > > > > i would guess not... > > Just count the processors in /proc/cpuinfo, here is an example:
well the trouble is, if you're not running an smp kernel, the kernel doesn't know bout multiple cpus to begin with, right? afaik there'd only be one cpu entry in /proc/cpuinfo if you're not running an smp kernel sean
pgpeq2VGBArrX.pgp
Description: PGP signature