HP 3PAR StoreServ 7400 2-node HP 3PAR Command Line Interface Administrator& - Page 50

Setting the TPDLISTDOM Environment Variable on Solaris and Linux, Using the -listdom Option

Page 50 highlights

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 ... 30 V3 - 31 V3.ro - 29 VV5 - 32 VV5.ro - 17 VV_TechPubs_1 Dom001 18 VV_TechPubs_2 Dom001 8 vvfromcpg2.0 Dom001 9 vvfromcpg2.1 Dom001 full base --- full base --snp vcopy V3 full base --snp vcopy VV5 full base --full base --full base --full base --- 0 RW normal 30 RW normal 30 RO normal 29 RW normal 29 RO normal 17 RW normal 18 RW normal 8 RW normal 9 RW normal 0 0 10240 10240 96 256 1024 1024 -- -- -- 1024 96 256 1024 1024 -- -- -- 1024 0 0 2048 2048 0 0 2048 2048 0 0 2048 2048 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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204

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