System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Differenc between kmsystem and config command

 
Sagar Sirdesai
Trusted Contributor

Differenc between kmsystem and config command

Hi

Please let me know when to use kmsystem and config command in HP-UX 11.11.

Sagar
3 REPLIES
P Muralidhar Kini
Honored Contributor

Re: Differenc between kmsystem and config command

Hi Sagar,

kmsystem is used to set configuration values that will be used at the next
kernel or module build. kmsystem operates on configurable information
associated to both static or loadable modules
For more details, Refer -
* kmsystem(1M)
http://docs.hp.com/en/B3921-90010/kmsystem.1M.html

config is used to configure the following parts of the operating system:
- an entire new kernel and associated components
- individual kernel modules (including device drivers)
- swap and dump devices
- tunable system parameters
For more details, Refer -
* config(1M)
http://docs.hp.com/en/B9106-90008/config.1M.html

Hope this helps.

Regards,
Murali
Let There Be Rock - AC/DC
Kranti Mahmud
Honored Contributor

Re: Differenc between kmsystem and config command

Hi Sagar,

kmsystem â set, query planned configuration attributes of kernel modules. kmsystem displays for all modules the current values of configurable attributes to be used at the next kernel or module build. The -q option may be used to limit this information to the specified module only. The other options are used to set configuration values that will be used at the next kernel or module build. kmsystem operates on configurable information associated to both static or loadable modules.

config â configure and build an HP-UX system. config supports the following forms of kernel configurations:

whole kernel configuration (first form)

Both the static portion of the kernel and the dynamically loadable kernel module images are generated. A system update and reboot are necessary to run the newly generated kernel.

loadable module configuration (second form, also referred to as kernel module configuration)

Specified dynamically loadable kernel module images are generated. If an update of the current system with the newly configured modules is successful, new services can be made available immediately, without requiring a system reboot.

For more info, check the man page of kmsystem & config.

Rgds-Kranti

Dont look BACK as U will miss something INFRONT!
Bhadresh
Trusted Contributor

Re: Differenc between kmsystem and config command

config supports the following forms of kernel configurations:
1. whole kernel configuration (first form)
2. loadable module configuration (second form, also referred to as kernel module configuration)

For kernel module configuration:
The traditional system file and modular system files contain configurable attribute values used to tailor the system and kernel before a call to config. The kmsystem administration command must be used to plan the configuration of a kernel module in or out of the kernel, or to modify any kernel module related information, prior to a whole kernel or loadable module configuration.

To know more about the different forms of kernel configuration:
http://docs.hp.com/en/B3921-90010/config.1M.html


Regards,
Bhadresh