HP StorageWorks P9000 Tiered Storage Manager Software 7.1.1 CLI Reference Guide (TB585-96014, September 2011)

NOTE:
Note the following points on specifying parameters:
Special care should be taken when using a symbol (<, >, &, or !) to which a special meaning is
attached by the OS. To override the OS's special meanings for any of these symbols, a character
string containing such a symbol must be enclosed in single (') or double (") quotation marks or
must be preceded by an escape character.
Problems might be encountered if you use Windows Vista 4-byte characters.
For more details on parameters and specifiable values for parameters, see Chapter 5 on page 57.
If details regarding the values that can be specified are not described in Chapter 5 on page 57, see
Types and length of characters that can be used for specifying parameters on page 196. This table
is useful when specifying values for command parameters, because it also explains whether values
are case sensitive and whether an empty character string can be specified.
CLI command return responses and output information
The CLI returns a return value after it has finished executing a process.
The following two types of CLI return values exist:
If the return value is 0 or a positive value, the CLI has terminated normally.
If the return value is a negative value, an error (such as a parameter error) was detected in
the CLI process.
When the CLI terminates normally, the processing results of the command are output to the standard
output. For examples of processing results, see the usage examples for each command. Note that
even when the CLI terminates normally, messages might be output to the standard error output. If any
errors are detected, error messages are output to the standard error output. Follow the error message
to help resolve the problem.
Checking the execution result of the task
Checking the execution results of tasks by simply examining the return values of the CLI commands is
usually not enough. To acquire the information about the executed tasks and check the results, use
the GetTasks command.
Displaying the CLI command Help
To display basic Help information, execute the CLI command with help specified with no arguments.
In Windows:
system-drive\TieredStorageManager\Tiered-Storage-Manager-version\CLI\htsmcli help
In Solaris, HP-UX, and Linux:
# ./htsmcli help
CLI Reference Guide 37