HP P9000 Command View Advanced Edition Suite Software 7.3.1-00 CLI Reference Guide

Return values
The Device Manager CLI returns an execution result value at the end of each process. The following
table lists and describes the CLI return values.
Table 4 Device Manager CLI return values
DescriptionReturn values
The CLI ended normally.
0
The CLI found errors within the process (for example, a parameter error).
1
The CLI found errors in the Device Manager server.
2
Help
This section describes the various types of Device Manager CLI Help and how to display them. Unless
otherwise specified, for the examples, Windows is used and the Device Manager CLI is installed in
the C:\hdvm folder.
Basic Help
Basic Help contains the format for Device Manager CLI commands, a list of commands, and a list
of options.
To display basic Help, execute the Device Manager CLI without any arguments.
In Windows:
C:\hdvm> hdvmcli.bat
In Solaris, AIX, Linux, or HP-UX:
# ./hdvmcli.sh
Basic Help includes the current Device Manager CLI version.
Command Help
Command Help explains the functions of specific commands and the parameters that can be
specified for those commands.
To display command Help, use the following format:
C:\hdvm> hdvmcli help command-name
For example, to display command Help for the GetServerInfo command, specify the following:
C:\hdvm> hdvmcli help GetServerInfo
Help for the batch function
The Device Manager CLI contains a batch function. Help for the batch function displays the format
for specifying batch files from the command line, the commands that can be specified in batch
files, and the format used in batch files.
Executing commands30