CLI Guide
Working With CLI Command Results
Server Administrator Command Line Interface (CLI) users can use the command output in various ways. This chapter explains how to save
command output to a le and how to select a format for the command results that ts dierent objectives. The following table displays the
systems on which omreport commands are applicable.
Table 226. System Availability For The omreport Command
Command Level 1 Command Level 2 Applicable To
omreport modularenclosure Blade systems
servermodule Blade systems
mainsystem Blade systems
system Rack and Tower systems
chassis Rack and Tower systems
Topics:
• Output Options For Command Results
• Controlling command output display
• Writing Command Output To A File
• Selecting A Format For The CLI Command Output
Output Options For Command Results
CLI command output displays to standard output on the system in a command window, in an X-terminal, or on a screen, depending on the
type of the operating system.
You can redirect command results to a le instead of displaying them to standard output. Saving command output to a le allows you to use
the command output for later analysis or comparison.
Whether you display command results to standard output or have the command results written to a le, you can format the results. The
format you select determines the way the command output is displayed and the way the command output is written to a le.
Controlling command output display
Each operating system provides a means of controlling the way that command results display to standard output. The following is a useful
command for ensuring that command results do not scroll by before you can view them. The same command syntax works for the
Microsoft Windows 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 rst screen. When you want to see the next screen of command output, press the spacebar.
9
Working With CLI Command Results 197