RE: About rebuild 2.4.x kernel to support SMP.

Vivek Dasmohapatra (vivek@etla.org)
Thu, 26 Apr 2001 16:48:38 +0100 (BST)


On Thu, 26 Apr 2001, Yiping Chen wrote:

> So, I have two question now,
> 1. how to determine whether your kernel support SMP?
> Somebody taugh me that you can type "uname -r", but it seems not
> correct.

Try:

cat /proc/stat

or

cat /proc/cpuinfo

/proc/cpuinfo should contain 1

processor : N

line per processor.

/proc/stat will contain n cpuN lines, where n is the number of processors
in your box, I think, or no such lines [just a cpu line] on a UP box.

-- 
There's an old proverb that says just about whatever you want it to.

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