Description
This command lists the names of all the scratch pools configured under a specified library. The MediaAgent name is optional. Whenever more than one scratch pool is found, each scratch pool is listed in its own line on the command prompt. No message is displayed whenever scratch pools are not found.
In case of an error, an error code and description are displayed as: "scratchpool: Error errorcode: errordescription"
Usage
qlist scratchpool -l <library> [-m MediaAgent] [-tf <tokenfile>] [-tk <token>] [-h]
Options
-l |
Library name |
-m |
MediaAgent Name |
-tf |
Reads token from a file |
-tk |
Token string |
-h |
Displays help |
Diagnostics
Possible exit status values are:
0 - Successful completion.
1 - CLI usage failures, due to the use of an unsupported option or missing argument.
2 - Any other failure.
Example
List all the scratch pools configured in library library1.
E:\commandline>qlist scratchpool -l library1
Scratchpool_1