HP XP7 Command View Advanced Edition Administrator Guide (Web Version) (TK981-96004, May 2014)

In Linux:
installation-directory-for-Host-Data-Collector/HDC/Base/bin/
hdc_getras.sh -o directory-name [-f]
o
Use the absolute path or a relative path from the current directory to specify the output destination
for the maintenance information.
You can specify any printable ASCII character other than the following special characters:
\ / : , ; * ? " < > | $ % & ' ` ^
However, you can specify backslashes (\), colons (:), and forward slashes (/) in Windows, or
forward slashes (/) in Linux as a path delimiter.
f
Use this option to forcibly overwrite the directory if the directory specified by the o option already
exists.
Maintenance information is output to the following location:
In Windows:
folder-specified-for-the-o-option\hdcResult
In Linux:
directory-specified-for-the-o-option/hdcResult
Acquiring maintenance information on a host managed by Host Data Collector
(hdc_target_getras command)
Execute the hdc_target_getras command to acquire maintenance information on a normal host
or virtual machine managed by Host Data Collector.
Operations to complete in advance
Copy a file to the host
Copy the following file to the target managed host from the computer on which Host Data Collector
is installed:
In Windows:
installation-folder-for-Host-Data-Collector\Base\bin\hdc_tar-
get_getras.bat
In UNIX:
installation-directory-for-Host-Data-Collector/Base/bin/hdc_tar-
get_getras.sh
Log in as a user with Administrator permissions (for Windows) or as a root user (for UNIX)
Command format
In Windows:
hdc_target_getras.bat -o folder-name [-f]
In UNIX:
hdc_target_getras.sh -o directory-name [-f]
o
Use the absolute path or a relative path from the current directory to specify the output destination
for the maintenance information.
Troubleshooting306