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).
Qualifier | Description |
---|---|
-o, -output | Specify the output format. Value is one of the following:
|
-select | Display the list of fields specified instead of the default fields. |
-sort | Sort the output by the specified fields. Append 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. |
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)
ID | SP | Ports | Health state --------+-----+-------------------+-------------- la0_SPA | SPA | eth0_SPA,eth1_SPA | OK (5) la0_SPB | SPB | eth0_SPB,eth1_SPB | OK (5)
[ { "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 } ]
ID,SP,Ports,Health state la0_SPA,SPA,”eth0_SPA,eth1_SPA”,OK (5) la0_SPB,SPB,”eth0_SPB,eth1_SPB”,OK (5)