190
Working With CLI Command Results
The available formats include:
•
List (lst)
•
Semicolon-separated values (ssv)
•
Table (tbl)
•
Raw xml (xml)
•
Custom delimited format (cdv)
Syntax for the formatting option is:
<command> -fmt <format option>
For example, type:
omreport system summary -fmt tbl
where
-fmt
tbl
specifies table format.
You can combine the formatting option with the option to direct output to a file. For example, type:
omreport system summary -fmt tbl -outa summary.txt
where
-fmt
tbl
specifies table format and
-outa
specifies that you append the command results to a file
called
summary.txt.
List (lst)
The default format is
lst
or list format. Use this format when you want to optimize output for simple
readability. You need to specify a format for your command output only if you want a format other than
lst
format.
To see the following example command output in
lst
format, type:
omreport system summary
No special formatting option is required because list format is the default display format. The network
data part of the example system summary appears as follows:
--------------
Network Data
--------------
Network Interface Card 0 Data
IP Address: 143.166.152.108
Subnet Mask: 255.255.255.0
Default Gateway: 143.166.152.1
MAC Address: 00-02-b3-23-d2-ca
Содержание Command Line Interface
Страница 12: ...12 Contents ...
Страница 50: ...50 omreport Viewing System Status Using the Instrumentation Service ...
Страница 100: ...100 omconfig Managing Components Using the Instrumentation Service ...
Страница 118: ...118 omreport rac Viewing Remote Access Controller Components ...
Страница 134: ...134 omconfig rac Managing the Remote Access Controller ...
Страница 186: ...186 Using the Storage Management Service ...
Страница 214: ...214 Glossary ...
Страница 226: ...26 Index 226 Index ...