CLI Guide

Table 1. Commands And Messages
Command Message
omconfig chassis temps index=0 warnthresh=
default
Temperature probe warning threshold value(s)
set successfully.
omconfig chassis biossetup attribute=numlock
setting=on
BIOS setup configured successfully. Change will
take effect after the next reboot.
omconfig system assetinfo info=depreciation
duration=6
omconfig system assetinfo info=depreciation
duration=6
Failure Messages
CLI failure messages provide reasons why some commands do not succeed. Some common reasons why commands fail include syntax
errors and components that are not present. Many error messages provide syntax information required to execute the command
successfully.
If you execute a command for a component or feature that is not present in the system conguration, the error message states that the
component is not present.
The following are examples of some failure messages:
Table 2. Failure messages
Command
omconfig chassis volts index=3
minwarnthresh=3.3000
Message
Error! Number with up to 3 digits after
decimal point expected, read 3.3000
The value given by the command specifies more
than 3 digits after the decimal point. A valid
minimum warning threshold value for volts
contains up to 3 digits after the decimal
point.
Revised command
omconfig chassis volts index=3
minwarnthresh=3.300
When you type the revised command with three decimal points, you receive another error message:
Table 3. Error messages for commands with three decimals
Message
Error! This voltage probe min warning
threshold must be between 11.400 and 12.480.
Revised command
omconfig chassis volts index=3
minwarnthresh=11.500
Message
Voltage probe warning threshold(s) set
successfully.
Scripting And Comparing Using CLI
The Server Administrator CLI allows administrators to write batch programs for the operating system. For an enterprise with many systems,
an administrator could write a conguration script that species the warning thresholds for each major component of a system and also
12
Introduction