shconf Command
Purpose
Manages the system hang detection parameters.
Syntax
shconf -d
shconf {-D [-O ] | -E [-O ]} [-H] -l Name
shconf -l Name [-a Attribute=Value] ...
Description
The shconf command is used to display or specify the parameters of the priority problem detection and lost I/O detection.
For the priority problem, the user can specify five actions described below and for each action, the user can specify the priority level to check, the time out while no process or thread executes at a lower or equal priority, the terminal device for the warning action, and the getty action:
Item | Description |
---|---|
pp_cmd | Launches a command specified by the path parameter. |
pp_errlog | Logs an error in error log. |
pp_login | Launches a getty at the highest priority on the serial line specified by the terminal device parameter (term). |
pp_reboot | Reboots the system. |
pp_warning | Displays a warning message on the console specified by the terminal device parameter (term). |
For lost I/O, the user can specify the actions listed
below and errlog, which is automatic when lost I/O detection
is enabled. There is a unique timeout which applies to all enabled
actions.
Item | Description |
---|---|
lio_warning | Displays a warning message on the console specified by the terminal device parameter (term). |
lio_reboot | Creates a system dump and reboots the system. |
Note: The shconf command only
supports the tty and console terminal
types.
Flags
Item | Description |
---|---|
-d | Displays if priority problem detection and lost I/O detection are enabled or not. |
-R | Restore the default values for a specified name of detection. |
-a Attribute=Value | Specifies the attribute value pairs used for changing specific attribute values. |
-D | Displays the default values for a specified name of detection. |
-E | Displays the effective values for a specified name of detection. |
-H | Displays the headers above the column output. When used together, the -O flag overrides the -H flag. |
-l Name | Specifies the detection name. |
-O | Displays all attribute names separated by colons and, on the second line, displays all the corresponding attribute values separated by colons. The attribute values are current values when the -E flag is also specified and default values when the -D flag is specified. This flag cannot be used with the -a flag. |
Files
Item | Description |
---|---|
/usr/sbin/shconf | Contains the shconf command. |