Interactive user output format – HP Virtual Connect 4Gb Fibre Channel Module for c-Class BladeSystem User Manual

Page 82

Advertising
background image

Command line 82

Scriptable output format

The interactive user output format is the default. However, by using a command-line option, the user can also
specify a "parse-friendly" output format, which provides data in a format that can be easily interpreted by
automated scripts invoking the CLI. The different output formats primarily impact the show subcommand in

the CLI infrastructure, where a majority of the informational details are displayed.

Interactive user output format

The interactive user output format provides a user friendly view of information at the command line. When
providing an overview, or listing, of several instances of data, a tabular text format is displayed. If an
individual instance of data is being displayed, then the stanza format is used.
Example 1: Tabular text output format for displaying a user list
->show user
============================================================================
UserName Privileges FullName ContactInfo Enabled
============================================================================
Administrator domain Steve Johnson [email protected] true
server
network
storage
----------------------------------------------------------------------------
Admin domain Admin Admin true
server
network
storage
----------------------------------------------------------------------------
steve domain Steve Johnson [email protected] true
server
network
storage
----------------------------------------------------------------------------
brad domain Brad Mills [email protected] true
server
----------------------------------------------------------------------------
jim network Jimmy Joe [email protected] true
----------------------------------------------------------------------------
alice storage Alice Candle [email protected] false
----------------------------------------------------------------------------
Example 2: Stanza output format for displaying a single user instance

->show user steve

Advertising