Installing and Managing HP-UX Virtual Partitions (includes A.04.02)

Monitor and Shell Commands
Monitor: Using Monitor Commands
Chapter 5
108
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.
ls [-alniFH] [
directory
]
lists the contents of
directory
. This command is similar to the Unix ls command.
directory
must be on a HFS file system. /stand is the default directory
The ls command-line options are the same as the Unix shell ls options. For detailed explanations, see
the ls (1M) manpage. In brief:
For example, to view the listing of files in winona2’s /stand directory:
MON> ls /stand
lost+found ioconfig bootconf system
system.d vmunix dlkm.vmunix.prevbuild
kernrel rootconf vpdb vpmon.dmp
vmunix.backup system.prev vmunix.prev dlkm
vpdb.backup vpmon
scan
lists all hardware discovered by the Monitor and indicates which virtual partition owns each device.
toddriftreset
resets the drifts of the real-time clock. Use this command if you reset the real-time clock of the hard
partition at the BCH prompt. For brief information, see “Real-time clock (RTC)” on page 25.
time
displays systems real time clock and OS time of all the virtual partitions in GMT (Greenwich Mean
Time). The OS time displayed will consider the RTC and clock drift for the virtual partition. However, if
the partition is up, there may be difference in the OS time displayed.
settime [
MM DD YYYY hh mm ss
]
sets the system's real time clock. Acceptable date range is 1-1-1970 00:00:00 to 12-31-2034 23:59:59.
-a all entries
-l long listing
-n numerical UIDs and GIDs
-i inode
-F appends a character after the entry, depending on the file type, such as a / (slash) for
a directory