Installation guide
3-30 Console Commands
3.18 Set <envar>
Set <envar> allows you to modify environment variables.
Example 3-18 Set <envar>
1. >>> set auto_action restart # On an error halt, system
# will automatically re-
# start. If restart fails,
# boot the operating
# system.
2. P00>>> set cpu 1 # Designate CPU in slot
cpu set to 1 # 1 as the primary, or
P01>>> # boot, processor.
3. >>> set d_harderr halt # System will halt on hard
# error.
4. >>> se class # Set the value of
# environment variable
# class to null.
5. >>> show enable* # Display the status
enable_audit OFF # of the enable_audit
>>> set enable_audit on # environment variable. Set
# enable_audit on to enable
# generation of audit trail
# messages.
The set <envar> syntax is:
se[t] <envar> [value]
where envar (environment variable) and value are from Table 2-3, which
also indicates which environment variables are volatile. Certain environ-
ment variables, such as boot specifications, must be defined using the cre-
ate command. For additional information, see Section 3.9. Unambiguous
abbreviations can be used for an environment variable name when using
the set command. Set -d envar resets the value of envar to its default
value. Wildcarding is also allowed with the set command. For example,
set -d * resets all environment variables to their default values.










