You can obtain online help for each CLI command. To obtain the help, type the word help and the command name at the dscli command prompt. There are additional parameters that you can use with the help command that designate the type of help information that you can receive.
| Command | Description |
|---|---|
| help | Displays a list of all the DS CLI commands that are available for use. |
| help -s | Displays a list of commands with brief descriptions. |
| help -l | Displays a list of commands with their associated syntax. |
command_name -h |
Displays the reference page (man page) for the command name. |
| help -s command_name | Displays the brief description for the command name. |
| help -l command_name | Displays the usage statement for the command name. |
dscli>help
This line of input provides the entire list of DS CLI commands. Only the command names are displayed. No other details are provided.
dscli>help -s
This line of input provides the entire list of DS CLI commands and a short description for each command. The short description explains what each command accomplishes.
dscli>help -l
lsextpool [ { -help|-h|-? } ] [ { -l (long)|-s (short) } ]
[-fmt default|xml|delim|stanza] [-p on|off] [-delim char]
[-hdr on|off] [-bnr on|off ] [-r #] [-v on|off] [-fullid]
[-hmc1 SMC1] [-hmc2 SMC2] [-user username] [-passwd password]
-dev storage_image_ID [-stgtype fb|ckd] [-rankgrp 0|1]
[Extent_Pool_ID ... | -]
The following line is the actual syntax for the lsextpool command: -dev storage_image_ID [-stgtype fb|ckd] [-rankgrp 0|1] [Extent_Pool_ID ... | -]
dscli>lssi -h dscli>lssi -help dscli>lssi -? dscli>help lssi
Any of the previous lines of input generates the entire help page that is associated with the lssi command. This is the same information that is found in the IBM® System Storage™ DS6000™ Command-Line Interface User's Guide or in the Information Center for the lssi command.
dscli>help -s lssi
lssi The lssi command displays a list of storage images in a storage complex. You can use this command to look at the status of each storage image in the list. The storage image worldwide node name (WWNN) is displayed when this command is used. You must use the storage image WWNN when using the lsavailpprcport and mkpprcpath commands.
dscli>help -l lssi
This line of input displays the entire reference page found in both the IBM System Storage DS6000 Command-Line Interface User's Guide and in the Information Center for the lssi command.