HP Integrity Virtual Machines 4.2: Installation, Configuration, and Administration

hpvmcollect command copies the latest crash dump directory
(based on the bounds file). This option can be used only with the
-c option.
-l
Leaves the collected information in the directory rather than an
archiving it. Valid on both the VM Host and the guest. The -l
option and the -s option are mutually exclusive.
-s hostname
Specifies a host name to receive the archive, which is copied
using scp. Verify that you can login to the host without a
password. Valid on both the VM Host and the guest. Note that
the -l option and the -s option are mutually exclusive.
-h
Displays the help message. Valid on both the VM Host and the
guest.
-P vm_name
Specifies the unique name of the virtual machine to be archived.
Valid on the VM Host only.
The -P and -p options are mutually exclusive.
-p vm_number
Specifies the unique number of the virtual machine to be
archived. The vm_number is displayed by the hpvmstatus
command. Valid on the VM Host only.
The -P and -p options are mutually exclusive.
-r directory
Specifies a remote target directory in which to store the collected
archive, overriding the default of /crashes. Valid on both the VM
Host and the guest. The -r option is valid only with the -s
option.
RETURN VALUES
The hpvmcollect command exits with one of the following values:
0: Successful completion.
1: One or more error conditions occurred.
DIAGNOSTICS
The hpvmcollect command displays the status of each collection line by line:
OK: The item collection was successful.
NO: The option was not used to collect the item.
N/A: hpvmcollect was supposed to collect the item but failed. Possible reasons include:
The command is not available (for example, it may not be in $PATH).
The command exited with an error; thus, there was no collection.
The condition that triggers the log file generation did not occur.
EXAMPLES
On a VM Host, collect VM Host and guest myguest information:
# hpvmcollect -P myguest
HPVM host crash/log collection tool version 3.0
Gathering info for post-mortem analysis of guest 'myguest' on host
Copying host's device database ...................................... N/A
Collecting I/O configuration info ................................... OK
Collecting filesystem info .......................................... OK
Collecting system info .............................................. OK
Collecting lan info ................................................. OK
Running lanshow ..................................................... NO
230