[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: automatic selection which kernel image to install



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:

$ grep "^proc" /proc/cpuinfo
processor	: 0
processor	: 1
processor	: 2
processor	: 3

--
Gruss Jens



Reply to: