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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to