Re: How to Determine Which Kernel

From: Richard B. Johnson (root@chaos.analogic.com)
Date: Fri Mar 31 2000 - 15:10:45 EST


On Fri, 31 Mar 2000, [iso-8859-1] Quang Nguyêñ (formerly Ngô) wrote:

> How do you determine from the user level whether you are running under the
> SMP or UP kernel? Is there a function call for it? I know there is
> __SMP__, but I want to check it dynamically.
>
> --
> Quang

`cat /proc/cpuinfo`
`uname -a`
... just to name a few...

Cheers,
Dick Johnson

Penguin : Linux version 2.3.41 on an i686 machine (800.63 BogoMips).

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



This archive was generated by hypermail 2b29 : Fri Mar 31 2000 - 21:00:30 EST