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

From: Vivek Dasmohapatra (vivek@etla.org)
Date: Thu Apr 26 2001 - 10:48:38 EST


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/



This archive was generated by hypermail 2b29 : Mon Apr 30 2001 - 21:00:16 EST