HP MSA2324sa HP StorageWorks 2300 Family Modular Smart Array CLI reference gui - Page 88

storage-size-units auto|MB|GB|TB, Set CLI parameters

Page 88 highlights

precision # Optional. Sets the number of decimal places (1-10) for display of storage-space sizes. storage-size-base 2|10 Optional. Alias for base. storage-size-precision # Optional. Alias for precision. storage-size-units auto|MB|GB|TB Optional. Alias for units. temperature-scale celsius|c|fahrenheit|f Optional. Specifies to show temperatures in degrees Fahrenheit or Celsius. timeout # Optional. Sets the timeout value in seconds for the login session. Valid values are 30-9999, where 9999 means do not timeout. The default is 1800 seconds (30 minutes). units auto|MB|GB|TB Optional. Sets the unit for display of storage-space sizes. auto lets the system determine the proper unit for a size. Based on the precision setting, if the selected unit is too large to meaningfully display a size, the system uses a smaller unit for that size. Example Set CLI parameters: # set cli-parameters timeout 600 precision 2 units GB temperature-scale f Success: Command completed successfully. - The settings were changed successfully. For scripting, display XML output in API mode with no paging: # set cli-parameters api pager off Success 0 Command completed successfully. - The settings were changed successfully. 0 For scripting, display brief XML output in API-embed mode with no paging: # set cli-parameters api-embed pager off brief on Success 0 Command completed successfully. - The settings were changed successfully. 0 88

  • 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

88
precision
#
Optional. Sets the number of decimal places (1–10) for display of storage-space sizes.
storage-size-base 2|10
Optional. Alias for
base
.
storage-size-precision
#
Optional. Alias for
precision
.
storage-size-units auto|MB|GB|TB
Optional. Alias for
units
.
temperature-scale celsius|c|fahrenheit|f
Optional. Specifies to show temperatures in degrees Fahrenheit or Celsius.
timeout
#
Optional. Sets the timeout value in seconds for the login session. Valid values are 30–9999, where
9999 means do not timeout. The default is 1800 seconds (30 minutes).
units auto|MB|GB|TB
Optional. Sets the unit for display of storage-space sizes.
auto
lets the system determine the proper
unit for a size. Based on the
precision
setting, if the selected unit is too large to meaningfully
display a size, the system uses a smaller unit for that size.
Example
Set CLI parameters:
# set cli-parameters timeout 600 precision 2 units GB temperature-scale f
Success: Command completed successfully. - The settings were changed
successfully.
For scripting, display XML output in API mode with no paging:
# set cli-parameters api pager off
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<RESPONSE VERSION="W440" request="cli-parameters">
<OBJECT basetype="status" name="status" oid="1">
<PROPERTY name="response-type" type="enumeration" size="12" draw="false"
sort="nosort" display-name="Response Type">Success</PROPERTY>
<PROPERTY name="response-type-numeric" type="enumeration" size="12"
draw="false" sort="nosort" display-name="Response">0</PROPERTY>
<PROPERTY name="response" type="string" size="180" draw="true" sort="nosort"
display-name="Response">Command completed successfully. - The settings were
changed successfully.</PROPERTY>
<PROPERTY name="return-code" type="int32" size="5" draw="false"
sort="nosort" display-name="Return Code">0</PROPERTY>
<PROPERTY name="component-id" type="string" size="80" draw="false"
sort="nosort" display-name="Component ID"></PROPERTY>
</OBJECT>
</RESPONSE>
For scripting, display brief XML output in API-embed mode with no paging:
# set cli-parameters api-embed pager off brief on
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<RESPONSE VERSION="W440" request="cli-parameters">
<OBJECT basetype="status" name="status" oid="1">
<PROPERTY name="response-type">Success</PROPERTY>
<PROPERTY name="response-type-numeric">0</PROPERTY>
<PROPERTY name="response">Command completed successfully. - The settings
were changed successfully.</PROPERTY>
<PROPERTY name="return-code">0</PROPERTY>
<PROPERTY name="component-id"></PROPERTY>
</OBJECT>
</RESPONSE>