Dell Command Line Interface Network Card User Manual


 
Working With CLI Command Results 189
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.
Ty p e :
omreport chassis fans index=0 -outa fans.txt
Fans.txt now reads as follows:
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.
Index
Status
Probe Name
Reading
Minimum Warning Threshold
Maximum Warning Threshold
Minimum Failure Threshold
Maximum Failure Threshold
: 0
: OK
: System Board Fan 1 RPM
: 2380RPM
: 600RPM
: 5700RPM
: 500RPM
: 6000RPM
Index
Status
Probe Name
Reading
Minimum Warning Threshold
Maximum Warning Threshold
Minimum Failure Threshold
Maximum Failure Threshold
: 0
: OK
: System Board Fan 1 RPM
: 3001RPM
: 700RPM
: 5500RPM
: 500RPM
: 6000RPM