lkml.org 
[lkml]   [2001]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRE: About rebuild 2.4.x kernel to support SMP.
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/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.030 / U:6.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site