Re: Kernel question

From: John Thompson (john_at_starfleet.os2.dhs.org)
Date: 06/05/04


Date: Sat, 5 Jun 2004 02:58:03 -0000

On 2004-06-05, Valeriu Catina <catina@NO_SPAMuni-bremen.de> wrote:

> is there any possibility to find out if the current running kernel is a
> SMP one or not. A command that can be used in a shell script would be
> excelent.

Look at the "IKCONFIG" kernel configuration option. If your kernel has
been built with this enabled, you should be able to see whether CONFIG_SMP
was set for the running kernel.

-- 
-John (john@os2.dhs.org)


Relevant Pages

  • Re: [PATCH 0/3] removing unwanted module configs
    ... On Thu, 30 Apr 2009, Steven Rostedt wrote: ... Since this option can also be used for helping embedded developers (I used ... it for that) I would not want to bloat the kernel with running a script ... But if IKCONFIG &&!IKCONFIG_PROC does not ...
    (Linux-Kernel)
  • Re: [PATCH 2.4.23-pre1] /proc/ikconfig support
    ... I can say for sure that I would really like to have ikconfig (I've been using ... - when a default kernel and a default config doesn't work on a customer's ... you didn't save the .config and definitely lost it. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: [PATCH 0/3] removing unwanted module configs
    ... developers I would not want to bloat the ... kernel with running a script that is suppose to minimize it. ... If it sees that IKCONFIG is ...
    (Linux-Kernel)
  • Re: [PATCH 0/3] removing unwanted module configs
    ... The script should clone the environment it is running ... Does IKCONFIG get loaded in the running kernel if IKCONFIG_PROC is ... find a config file in it, it would then try ./vmlinux file. ...
    (Linux-Kernel)
  • Re: [PATCH 0/3] removing unwanted module configs
    ... the script figure out what is built in? ... Does IKCONFIG get loaded in the running kernel if IKCONFIG_PROC is not ... I see I can use scripts/extract-ikconfig to get the config from the ...
    (Linux-Kernel)