HP Storage Essentials V5.1 CLI Guide First Edition (T4283-96029, August 2006)

Storage Essentials 5.1 CLI Guide 5
Accessing Error Codes
To access error codes, enter one of the following at the command prompt after you have entered a
CLI command:
Microsoft Windows -
echo %errorlevel%
UNIX (C shell) -
echo $status
UNIX (Bourne shell, Bourne Again shell, and Korn shell)
echo $?
The error code is returned, for example 0, which means there is no error.
8 CLI Configuration Error
9 Help Error
10 General Error
Table 2 Error Code Descriptions (continued)
Error Code Description