Managing Systems and Workgroups: A Guide for HP-UX System Administrators

Configuring a System
Reconfiguring the Kernel (HP-UX 11i Version 2)
Chapter 3 351
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.
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
event type displays the checkboxes that determine when notifications are to be sent:
initial First polling at which resource usage exceeds threshold;
when an alarm is first added, activated, deactivated, or
the system reboots.
repeat Each polling at which resource usage exceeds threshold
(this can lead to a large number of messages if the polling
interval is small).
return First polling at which resource usage falls below
threshold.
If none of the check boxes is checked, the default event type, as set by
kcalarm will be used.
Note: More than one check box can be checked; selecting both initial and
return will generate a notification whenever the usage crosses above or
below the threshold.
polling
interval
displays the interval, in minutes, between polling of resource usage
notification displays the notification method (console, opcmsg, syslog, textlog, email,
snmp, tcp, udp)
comment indicates the comment field
Table 3-19 kcweb modify alarm Fields (Continued)
Field Name Description