HP 3PAR Command Line Interface Administrator's Manual: HP 3PAR OS 3.1.2 (QR482-96525, September 2013)

Setting the TPDLISTDOM Environment Variable on Solaris and Linux
To set the TPDLISTDOM environment variable in Solaris and Linux, see the following system output
example:
$ TPDLISTDOM=1
$ export TPDLISTDOM
$ cli
Setting the TPDLISTDOM Environment Variable on Windows
To set the TPDLISTDOM environment variable in Windows:
1. Perform Step 1 through Step 4 of the procedure for setting the TPDSOCKSSL environment
variable in Windows as described in “Using SSL” (page 44).
2. In the Environment Variable dialog box, enter TPDLISTDOM in the Variable box.
3. Enter 1 in the Value box.
4. Click OK.
Using the -listdom Option
To set the -listdom global option, see the following example:
$ cli -listdom
Table Headers and Totals
HP 3PAR CLI output can be configured to either display or not display column headings and totals.
If you are using scripts, you may want to set the CLI output to omit the display of headings and
totals to facilitate parsing by your scripts. Options and environment variables including “no
indicate that headings and totals are not displayed. To set the output display, use:
The -nohdtot or -hafter global options.
The TPDNOHDTOT or TPDHAFTER environment variables.
The setclienv -nohdtot or setclienv -hafter commands (if changing within the
Tcl shell; for details about this command, see the HP 3PAR Command Line Interface Reference)).
The following example displays CLI output with and without column headings and totals:
showvv -nohdtot
0 admin Dom001 full base --- 0 RW normal 0 0 10240 10240
...
30 V3 - full base --- 30 RW normal 96 256 1024 1024
31 V3.ro - snp vcopy V3 30 RO normal -- -- -- 1024
29 VV5 - full base --- 29 RW normal 96 256 1024 1024
32 VV5.ro - snp vcopy VV5 29 RO normal -- -- -- 1024
17 VV_TechPubs_1 Dom001 full base --- 17 RW normal 0 0 2048 2048
18 VV_TechPubs_2 Dom001 full base --- 18 RW normal 0 0 2048 2048
8 vvfromcpg2.0 Dom001 full base --- 8 RW normal 0 0 2048 2048
9 vvfromcpg2.1 Dom001 full base --- 9 RW normal 0 0 2048 2048
Setting the Environment Variable on Solaris and Linux
$ TPDNOHDTOT=1
$ export TPDNOHDTOT
$ cli
Substitute TPDHAFTER for TPDNOHDTOT in the example above, as necessary.
50 Running the HP 3PAR Command Line Interface