CLI Guide

Table Of Contents
Table 229. Result (continued)
Maximum Failure Threshold : 6000RPM
You cannot refer to the previous command results to compare the earlier fan probe 0 output with the present output because in
using the -outc option, you overwrote the fans.txt file.
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 the system and write the results to a file called fans.txt. 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
or
omreport mainsystem fans index=0 -outa fans.txt
Fans.txt now reads as follows:
Table 230. Append command results to an existing file
Index : 0
Status : OK
Probe Name : System Board Fan 1 RPM
Reading : 2380RPM
Minimum Warning
Threshold
: 600RPM
Maximum Warning
Threshold
: 5700RPM
Minimum Failure
Threshold
: 500RPM
Maximum Failure
Threshold
: 6000RPM
Index : 0
Status : OK
Probe Name : System Board Fan 1 RPM
Reading : 3622RPM
Minimum Warning
Threshold
: 900RPM
Maximum Warning
Threshold
: 3500RPM
Minimum Failure
Threshold
: 500RPM
Maximum Failure
Threshold
: 6000RPM
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
190
Working With CLI Command Results