Re: smp/non-smp kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 3/6/07, Prasad Joshi <prasadjoshi124@xxxxxxxxx> wrote:


On 3/6/07, my linux < my.linux.newbie@xxxxxxxxx> wrote:


On 3/6/07, Rajat Jain < rajat.noida.india@xxxxxxxxx> wrote:
On 3/6/07, my linux <my.linux.newbie@xxxxxxxxx> wrote:
> Hi,
>
> How can I know  whether my machine booted with SMP and non-SMP kernel ?   (
> from kernel space)

CONFIG_SMP?

I want to get it without accessing config file or proc.

uname -a may give you the answer you are looking for.

prasad@prasad-desktop:~/LinuxSrc/linux- 2.6.20$ uname -a
Linux prasad-desktop 2.6.20 #8 SMP Thu Feb 15 16:00:00 IST 2007 i686 GNU/Linux

 
In kernel space ? In a kernel module ?

-mln

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux