Standard format parameters

The standard format parameters set the output format of listing commands (commands that start with ls*) in the administrative CLI. These parameters can be used either in a listing command syntax or in the setoutput command syntax. You can specify these parameters in addition to the parameters available for a specific listing command.

The format settings remain in effect for the duration of the administrative CLI session or until you reset the parameters either by specifying these parameters in a listing command or using the setoutput command.

Read syntax diagramSkip visual syntax diagram
>>-+-----------------------------+--+--------------+------------>
   |        .-default----------. |  |      .-off-. |
   '- -fmt--+-delim--character-+-'  '- -p--+-on--+-'
            '-xml--------------'

>--+----------------+--+-------------+--+--------------+-------><
   |        .-on--. |  '- -r--number-'  |      .-off-. |
   '- -hdr--+-off-+-'                   '- -v--+-on--+-'

Parameters

–fmt
Specifies the format of the output. You can specify one of the following values:
default
Specifies to display output in a tabular format using spaces as the delimiter between the columns. This is the default value. For example:
Name      Type     Size (GB)   Used (GB)   Used (%)   Alert (%)
===============================================================
DEFAULT   Default      10000        2500         25          80

Volumes   Partition Size (MB)   Description
====================================================
     10                    64   Default Storage Pool
delim character
Specifies to display output in a tabular format using the specified character to separate the columns. If you use a shell metacharacter (for example, * or \t) as the delimiting character, enclose the character in single quotation marks (') or double quotation marks ("). A blank space is not a valid character. For example:
DEFAULT,Default,10000,2500,25,80,10,64,Default Storage Pool
xml
Specifies to display output using XML format, for example:
<IRETURNVALUE>
<INSTANCE CLASSNAME="STC_StoragePool">
<PROPERTY NAME="Name" TYPE="string"><VALUE>DEFAULT_POOL</VALUE>
</PROPERTY>
<PROPERTY NAME="PoolType" TYPE="uint32"><VALUE>1</VALUE>
</PROPERTY>
<PROPERTY NAME="PartitionSize" TYPE="uint64"><VALUE>16</VALUE>
</PROPERTY>
<PROPERTY NAME="AlertPercentage" TYPE="uint16"><VALUE>80</VALUE>
</PROPERTY>
<PROPERTY NAME="Size" TYPE="uint64"><VALUE>0</VALUE></PROPERTY>
<PROPERTY NAME="SizeAllocated" TYPE="uint64"><VALUE>0</VALUE>
</PROPERTY>
<PROPERTY NAME="SizeAllocatedPercentage" TYPE="uint16"><VALUE>0
</VALUE></PROPERTY>
<PROPERTY NAME="NumberOfVolumes" TYPE="uint32"><VALUE>0</VALUE>
</PROPERTY>
<PROPERTY NAME="Description" TYPE="string"><VALUE>Default storage pool
</VALUE></PROPERTY>
</INSTANCE>
</IRETURNVALUE>
–p
Specifies whether to display one page of text at a time or all text at once.
off
Displays all text at one time. This is the default value when the administrative CLI is run in single-shot mode.
on
Displays one page of text at time. Pressing any key displays the next page. This is the default value when the administrative CLI is run in interactive mode.
–hdr
Specifies whether to display the table header.
on
Displays the table header. This is the default value.
off
Does not display the table header.
–r number
Specifies the number of rows per page to display when the –p parameter is on. The default is 24 rows. You can specify a value from 1 to 100.
–v
Specifies whether to enable verbose mode.
off
Disables verbose mode. This is the default value.
on
Enables verbose mode.

Parent topic: Administrative CLI overview

Terms of use | Feedback
(C) Copyright IBM Corporation 2003, 2004. All Rights Reserved.