Command Line Interface Guide

282 Working With CLI Command Results
command prompt, the Red Hat Enterprise Linux terminal, and the
SUSE
Linux Enterprise Server terminal. To display command output with control
over scrolling, type the CLI command and append the pipe symbol followed
by more. For example, type:
omreport system summary | more
or
omreport servermodule summary | more
The multiscreen system summary displays the first screen. When you want to
see the next screen of command output, press the spacebar.
Writing Command Output to a File
When redirecting command results to a file, you can specify a filename (and
a directory path if necessary) to which you want to write the command result.
When specifying the path to which you want to write the file, use the
appropriate syntax for the operating system.
You can save command results in two ways. You can overwrite any file that has
the same name as the output file you specify, or you can keep adding results of
commands to a file of the same name.
Saving Command Results to a File That is Overwritten
Use the -outc option when you want to overwrite data stored in previously
written files. 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. You
type:
omreport chassis fans index=0 -outc fans.txt
or
omreport mainsystem fans index=0 -outc fans.txt