HP-UX System Administrator's Guide: Configuration Management
2. At the bottom of the window, click one of the following buttons:
• Activate to activate the alarm. The Alarm Status changes to on.
• Deactivate to deactivate the alarm. The Alarm Status changes to off.
• Remove to delete the alarm. The alarm is removed from the list.
Resource Usage Commands
The kcalarm command is used to add, delete, or list selected kernel tunable alarms,
as well as turn kernel tunable monitoring on and off.
kcalarm is used to manage selected kernel tunable alarms and monitors; alarms and
monitors are implemented in the kcmond daemon. Users can create, modify, delete,
and list selected kernel tunable alarms. Alarms send a notification though various
notification targets when a kernel tunable crosses a specified percentage threshold of
its current setting.
Usage monitoring is the process of collecting historical tunable data. When this feature
is turned on, historical data is collected on the usage of supported tunables. These data
are used by the kcusage command to generate usage tables (including top consumers)
for supported kernel tunables. These data also enable usage graphs in the HP SMH
tool. Monitoring is turned on by default.
For more information, see the kcalarm(1M), kcmond(1M), and kcusage(1M) manpages.
To start or stop usage monitoring, you can click Start Usage Monitoring or Stop
Usage Monitoring in the right-hand column of any tab on the Kernel Configuration
page
Managing the Running Configuration Using kconfig
The kconfig command has two options that are useful for dealing with changes to
the currently running kernel configuration that are being held for next boot.
Configuration changes are held for next boot when requested (using the -h (hold)
option of kcmodule or kctune, or the -n (next boot) option of kconfig). Configuration
changes are also held for next boot when they cannot be applied to the currently running
system.
To get a list of changes being held for next boot, run kconfig -D (differences). This
is really just a short cut for running kcmodule -D and kctune -D. Similarly, to get
a list of configuration settings that are set to nondefault values, run kconfig -S (set).
This is a short cut for running kcmodule -S and kctune -S.
If you decide that you don’t want those changes to be applied at next boot after all, run
kconfig -H (unhold). All changes being held for next boot will be discarded.
For more information on changes being held for next boot, see “Persistence of Changes”
(page 159).
188 Configuring the Kernel