Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell PowerStore CLI User Guide

PDF

The show action command

The show action command displays a list of objects that exist on the system and the attributes of those objects. You can specify an object qualifier to view the attributes for a single object. The show action command provides qualifiers for changing the display of the output, including the format and the attributes to include. The available output formats are name-value pair (NVP), table, JSON, and comma-separated values (CSV).

Format

<object> [<object qualifiers>] show [-select <field>,...] [-sort <sort field>(+|-)] [-offset <value>] [{ -limit <value> | -all }] [-output {nvp | table | json [-raw]| csv [-table] [-noformat]}]

Action qualifiers

QualifierDescription
-o, -outputSpecify the output format. Value is one of the following:
  • nvp—The name-value pair (NVP) format displays the output as name=value.
  • table—The table format displays output as a table, with column headers and rows. By default, values that are too long to fit in a column are cut off.
  • 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 commas separate the names and values.
    • -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.
-selectDisplay the list of fields specified instead of the default fields.
-sortSort the output by the specified fields. Append a field with + to sort ascending (default), or – to sort descending.
-offsetSpecifies 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 | -allSpecifies 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
},
{
"id": "616b80db-f8ad-46cb-b958-f9c8a7940770",
"name": "tal2",
"description": "",
"type": "Primary",
"wwn": "naa.68ccf09800c6c60a72678f4c3c71ddff",
"state": "Ready",
"size": 819200000
},
{
"id": "cab12dab-a421-49e2-a9f0-8f0812b88bd9",
"name": "tal4",
"description": "",
"type": "Primary",
"wwn": "naa.68ccf09800c6f0e48a9361937ffbb10f",
"state": "Ready",
"size": 81920000
},
{
"id": "e97a7760-a4d9-462b-a6f1-67bcc5f8f367",
"name": "tal1_new",
"description": "",
"type": "Primary",
"wwn": "naa.68ccf09800efe4b0ae44dadec26a0a59",
"state": "Ready",
"size": 819200000
}
] 

Comma-separated values format

ID,SP,Ports,Health state
la0_SPA,SPA,”eth0_SPA,eth1_SPA”,OK (5)
la0_SPB,SPB,”eth0_SPB,eth1_SPB”,OK (5)

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\