7-44
AlphaServer 8200/8400 Operations Manual
7.5.22 Set <envar>
Set <envar> allows you to modify environment variables.
Example 7-22 Set <envar>
1. P00>>> set auto_action restart # On an error halt,
# system will automatic-
# ally restart. If restart
# fails, boot the operat-
# ing system.
2.
P00>>> set cpu 1
# Designate CPU in slot
cpu set to 1
# 1 as the primary, or
P01>>>
# boot, processor.
3. P00>>> set d_harderr halt
# System will halt on hard
# error.
4. P00>>> se class
# Set the value of
# environment variable
# class to null.
5. P00>>> show enable*
# Display the status
enable_audit OFF
# of the enable_audit
P00>>> 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 7-3, which also
indicates which environment variables are volatile. Certain environment variables,
such as boot specifications, must be defined using the create command. For additional
information, see Section 7.5.11. 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.