Installing and Managing HP-UX Virtual Partitions (A.01.01)
Monitor and Shell Commands
Using Monitor Commands
Chapter 5 79
Displaying Information
• cat
filename
[openonly]
displays the contents of
filename
. When openonly is specified, this
command only prints "open succeeded" if the monitor was able to
open the
filename
. This command is similar to the Unix cat
command.
filename
must be a text file on an HFS file system.
/stand is the default directory
Example:
To display the file /stand/notes.txt
MON> cat notes.txt
10/13/2001: built new kernel today. if problems arise,
revert to saved kernel vmunix.original
• cbuf
partition_name
displays the contents of the console buffer of
partition_name
• help
help or ? lists all monitor commands
• lifls
lists the files in the LIF area
• getauto
displays the contents of the AUTO file in the LIF area
Example:
MON> getauto
hpux /stand/vpmon
• log
displays the contents, including warning and error messages, of the
monitor log. The monitor log holds up to 16KB of information in a
circular log buffer. The information is displayed in chronological
order.