Dell PowerStore 3200T EMC PowerStore CLI User Guide - Page 10

Name-value pair format, Table format, JSON format, la0_SPB | SPB | eth0_SPB, eth1_SPB | OK 5

Page 10 highlights

Qualifier -select -sort -offset -limit | -all Description ● json-The JSON format is the JSON representation of the data, similar to the corresponding REST API response body. ○ -raw-Removes human-readable formatting such as new lines and indentation for JSON output. ● csv-The comma-separated values (CSV) format is similar to the table format, but the names and values are separated by commas. ○ -noformat-Removes human-readable formatting for size and speed values to ease data import. ○ -table-Exports csv with table formatting; instances with embedded arrays are split into several lines after importing csv as a table. Display the list of fields specified instead of the default fields. Sort the output by the specified fields. Prefix a field with + to sort ascending (default), or - to sort descending. Specifies where to start in a result set. Offset 0 is the normal start of the list. Offset 100 skips the first 100 instances and start the output with the 100th instance. Specifies how many instances to show. The default is 100. -all displays all instances, up to a limit of 2000. For longer lists, use -offset and -limit together to show chunks of data iteratively. Name-value pair format 1: ID SP Ports Health state 2: ID SP Ports Health state = la0_SPA = SPA = eth0_SPA,eth1_SPA = OK (5) = la0_SPB = SPB = eth0_SPB,eth1_SPB = OK (5) Table format ID | SP | Ports | Health state la0_SPA | SPA | eth0_SPA,eth1_SPA | OK (5) la0_SPB | SPB | eth0_SPB,eth1_SPB | OK (5) JSON format [ { "id": "1a477f78-6880-44bc-9dbe-81eb6a570e25", "name": "tal3", "description": "", "type": "Primary", "wwn": "naa.68ccf09800fdeb5b95b22ab6f61c352d", "state": "Ready", "size": 81920000 }, { "id": "59a5f876-fe37-45a1-8ed3-7dae3d493386", "name": "tal5", "description": "", "type": "Primary", "wwn": "naa.68ccf098007d921192aec35c4449c1b4", "state": "Ready", "size": 81920000 }, 10 Introduction

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16

Qualifier
Description
json
—The JSON format is the JSON representation of the data, similar to the corresponding REST API
response body.
-raw
—Removes human-readable formatting such as new lines and indentation for JSON output.
csv
—The comma-separated values (CSV) format is similar to the table format, but the names and values
are separated by commas.
-noformat
—Removes human-readable formatting for size and speed values to ease data import.
-table
—Exports csv with table formatting; instances with embedded arrays are split into several lines
after importing csv as a table.
-select
Display the list of fields specified instead of the default fields.
-sort
Sort the output by the specified fields. Prefix a field with + to sort ascending (default), or – to sort
descending.
-offset
Specifies where to start in a result set. Offset 0 is the normal start of the list. Offset 100 skips the first 100
instances and start the output with the 100th instance.
-limit |
-all
Specifies how many instances to show. The default is 100.
-all
displays all instances, up to a limit of 2000.
For longer lists, use
-offset
and
-limit
together to show chunks of data iteratively.
Name-value pair format
1:
ID
= la0_SPA
SP
= SPA
Ports
= eth0_SPA,eth1_SPA
Health state
= OK (5)
2:
ID
= la0_SPB
SP
= SPB
Ports
= eth0_SPB,eth1_SPB
Health state
= OK (5)
Table format
ID
| SP
| Ports
| Health state
--------+-----+-------------------+--------------
la0_SPA | SPA | eth0_SPA,eth1_SPA | OK (5)
la0_SPB | SPB | eth0_SPB,eth1_SPB | OK (5)
JSON format
[
{
"id": "1a477f78-6880-44bc-9dbe-81eb6a570e25",
"name": "tal3",
"description": "",
"type": "Primary",
"wwn": "naa.68ccf09800fdeb5b95b22ab6f61c352d",
"state": "Ready",
"size": 81920000
},
{
"id": "59a5f876-fe37-45a1-8ed3-7dae3d493386",
"name": "tal5",
"description": "",
"type": "Primary",
"wwn": "naa.68ccf098007d921192aec35c4449c1b4",
"state": "Ready",
"size": 81920000
},
10
Introduction