[Techtalk] Query or List Kernel Options?

Carla Schroder carla at bratgrrl.com
Sun Jun 12 13:35:58 EST 2005


On Saturday 11 June 2005 6:55 pm, Kai MacTane wrote:
> 06/11/05 6:55 pm
> 
> 
> Does anyone know of a way to determine the options selected on an 
> already-compiled and -installed kernel? I'm getting ready to try some 
> traffic shaping and bandwidth management on a Fedora Core 3 machine, and 
> I'd like to find out if options like CONFIG_NET_SCHED, CONFIG_NET_QOS, and 
> so on are already enabled, or if I'm going to need to recompile.
> 
> I've already tried "apropos kernel" and a variety of Google searches. (Most 
> of those told me lots about how to compile a kernel, but nothing about how 
> to find out what options the kernel was compiled with once I'm done.

Do you have a /boot/config-xxx file? That tells all. If you don't have a 
config file, you're SOL. It should be there, all my Fedoras have one.

The 2.6 kernel was supposed to include the ability to query itself for 
compiled options, but as far as I know it has not been implemented in any 
useful way.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Carla Schroder
http://www.tuxcomputing.com
check out my new book, the "Linux Cookbook", the ultimate Linux user's 
and sysadmin's guide! http://www.oreilly.com/catalog/linuxckbk/
this message brought to you
by Libranet 2.8 and Kmail
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


More information about the Techtalk mailing list