HP MSA 1040 HP MSA 1040 CLI Reference Guide (762782-001, March 2014) - Page 145
Set CLI parameters, Optional. Alias
View all HP MSA 1040 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 145 highlights
pager enabled|on|disabled|off Optional. • enabled or on: Halts output after each full screen to wait for keyboard input. This is the default. • disabled or off: Output is not halted. When displaying output in XML API format, which is intended for scripting, disable paging. precision # Optional. Sets the number of decimal places (1-10) for display of storage-space sizes. The default is 1. 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. Sets the scale for display of temperature values: • fahrenheit or f: Temperatures are shown in degrees Fahrenheit. • celsius or c: Temperatures are shown in degrees Celsius. This is the default. timeout # Optional. Sets the timeout value in seconds for the login session. Valid values are 120-43200 seconds (2-720 minutes). The default is 1800 seconds (30 minutes). units auto|MB|GB|TB Optional. Sets the unit for display of storage-space sizes: • auto: Sizes are shown in units determined by the system. This is the default. • MB: Sizes are shown in megabytes. • GB: Sizes are shown in gigabytes. • TB: Sizes are shown in terabytes. Based on the precision setting, if a size is too small to meaningfully display in the selected unit, the system uses a smaller unit for that size. For example, if units is set to TB, precision is set to 1, and base is set to 10, the size 0.11709 TB is instead shown as 117.1 GB. Example Set CLI parameters: # set cli-parameters timeout 600 console pager off precision 2 units GB temperature-scale f Success: Command completed successfully. - The settings were changed successfully. (2012-01-21 11:56:08) For scripting, display XML output in api-embed format and disable paging: # set cli-parameters api-embed pager off For scripting, display brief XML output in api-embed format and disable paging: # set cli-parameters api-embed pager off brief on Set CLI to show output in console format: # set cli-parameters console Success: Command completed successfully. - The settings were changed successfully. (2012-01-21 11:56:17) See also • show cli-parameters set cli-parameters 145