3PAR System Reporter User’s Guide

System Reporter 2.8

9.5 The showvvcpg CLI extension

Adaptive Optimization may move regions of a VV into different CPGs. In order to more easily see how much of each VV is in each tier, the CD for System Reporter 2.8 includes a CLI script file, showvvcpg.tcl, that adds a new CLI command when it is sourced from the CLI.

Once you start the CLI and connect to the InServ array, you can source the showvvcpg.tcl:

cli% source showvvcpg.tcl

This adds a new showvvcpg command to the CLI. You can get the help text for the command

as follows:

cli% showvvcpg -h

Usage: showvvcpg [options] [<vvnamepattern> ...]

The [options] include

-domain <domain_namepattern>[,<domain_namepattern>...]

Show only VVs that are in domains with names matching one or more of the specified domain_name or patterns. Only VVs within domains that the user is a member of can be listed. Multiple domain names or patterns can be repeated using a comma-separated list

(for example -domain <domain_name>,<domain_name>...).

-sortcol <col>[,<dir>][:<col>[,<dir>]...]

Sorts command output based on column number (<col>). Columns are numbered from left to right, beginning with 0. At least one column must be specified. In addition, the direction of sorting (<dir>) can be specified as follows:

inc

Sort in increasing order (default).

dec

Sort in decreasing order.

Multiple columns can be specified and separated by a colon (:). Rows with the same information in them as earlier columns will be sorted by values in later columns.

9.18

The showvvcpg CLI extension

Page 290
Image 290
HP System Reporter E-Media Kit, System Reporter Media Kit manual Showvvcpg CLI extension, Cli% source showvvcpg.tcl