Skip to contentSkip to conversation

Detecting SMP

DISCUSSION Jay D Allen 1 participant 1 message Feb 21, 2001

lore
Share & tools
lore
#0 lore raw

What is the platform ( x86, Sparc, alpha or ?)? On sparc look in the bootprom (ls /proc/openprom) that works regardless of kernel SMP status. On Intel I think your out of luck, at least with the commonly available hardware/software. In theory there could be a bios-peeking structure in /proc much like openprom that could give you hints...

Sent by: [email protected]

To: [email protected]
cc:
Subject: Detecting SMP

Hello. Is there a way, when running a non-SMP kernel, to detect or otherwise tell (software only; the machine is 2400 miles away) if the system has SMP capibilties? Would /proc/cpuinfo show two CPUs if the kernel is non-SMP? Thanks!

(btw, the kernel in question is a stock RH6.2 kernel 2.2.14-5, and yes, I know I should update it anyways and that a SMP kernel will run on a UP system)

--
Burton Windle [email protected]
Linux: the "grim reaper of innocent orphaned children."

          from /usr/src/linux-2.4.0/init/main.c:655

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/