CLI Guide

Table Of Contents
[-C|--no-contexts]
[-x |--cache-max-age]
context,[[context]...]
Arguments
Optional arguments
[-l|--long]
Display more detailed information.
[-a|--attributes]
Includes the attributes of the target contexts.
[-A|--no-attributes]
Excludes attributes.
[-t|--attribute-selector]
attribute-selector
Display the contents of the specified attributes.
[-p|--paged]
Page output if it is longer than the window height.
[-m|--commands] depth Includes commands in the listing.
[-f|--full]
Do not summarize long attribute listings.
[-C|--no-contexts]
Excludes contexts from the listing.
[-x|--cache-max-age]
Maximum age of cached context data to be considered fresh enough. Default: 0,
which always triggers a refresh.
Description
The contents of a context include: its child contexts; its attributes; and the available commands.
The context name can be any valid glob pattern.
The VPLEX CLI includes ll, a pre-defined alias of ls -a.
Example
Display a devices attributes:
VPlexcli:/> ls -C /clusters/cluster-8/devices/device_CLAR0014_LUN04_1
/clusters/cluster-8/devices/device_CLAR0014_LUN04_1:
Name Value
---------------------- -----------------------
application-consistent false
block-count 2621440
block-size 4K
capacity 10G
geometry raid-0
health-indications []
health-state ok
locality local
operational-status ok
rebuild-allowed -
rebuild-eta -
rebuild-progress -
.
.
.
Use the --attribute argument to display the operational status of all directors:
VPlexcli:/> ls --attribute /clusters/*/directors/*::operational-status
/clusters/cluster-1/directors/dirB:
Name Value
------------------ -----
Commands
229