Selecting A Format For Your Cli Command Output - Dell Command Line Interface User Manual

Dell command line interface user's guide
Table of Contents

Advertisement

Append Command Results to an Existing File
Use the -outa option when you want to append new command results to data stored in a previously
written file. For example, at 11:00 A.M. you capture fan probe RPM readings for fan probe 0 on your
system and write the results to a file called fans.txt. If you want to compare these results with output for
the same probe obtained four hours later, you can use the -outa command to append the new output
to fans.txt.
Type:
omreport chassis fans index=0 -outa fans.txt
Fans.txt now reads as follows:
Index
Status
Probe Name
Reading
Minimum Warning Threshold
Maximum Warning Threshold
Minimum Failure Threshold
Maximum Failure Threshold
Index
Status
Probe Name
Reading
Minimum Warning Threshold
Maximum Warning Threshold
Minimum Failure Threshold
Maximum Failure Threshold
You can use a text editor to insert the time that each block of data was captured. In comparing the two
snapshots for fan probe 0, you can see that the second report shows several changes. The reading of fan
RPM has increased by 621 RPM but is still within normal range. Someone has raised the minimum
warning threshold by 200 RPM and has decreased the maximum warning threshold by 2000 RPM.

Selecting a Format for Your CLI Command Output

You can specify a format for your CLI command results. The format determines how the command
output is displayed. If the command results are directed to a file, the format is captured by the file to
which you write your command results.
NOTE:
The omconfig command ignores most output format options and returns plain text messages. However, if
you use the xml option, the omconfig command returns XML code.
: 0
: OK
: System Board Fan 1 RPM
: 2380RPM
: 600RPM
: 5700RPM
: 500RPM
: 6000RPM
: 0
: OK
: System Board Fan 1 RPM
: 3001RPM
: 700RPM
: 5500RPM
: 500RPM
: 6000RPM
Working With CLI Command Results
189

Advertisement

Table of Contents
loading

This manual is also suitable for:

External oemr 2970

Table of Contents