HP StorageWorks XPath OS 7.4.X Command Reference Guide (AA-RVHCC-TE, September 2005)

66 XPath OS CLI commands
Uploads diagnostic information from daemons and an application to an FTP server.
Synopsis
diagupload -h hostName -d destinationDirectory
-u userName -p password [-f fileName]
Availability
admin
Description
Use this command to upload the core dumps and supportShow information in the /usr/cores
directory or to upload a specified core-dump file to a specified FTP server.
The diagUpload command might fail for the following reasons:
The host is not known to the MP Router.
The host cannot be reached by the MP Router.
The user does not have permission on the host.
The FTP server is not running on the host.
Operands
The following operands are required:
The following operand is optional:
Examples
To upload core dumps to /tmp (if /tmp is available) to 10.7.32.168:
To upload a specified core-dump file to tmp (in this example, tmp is in the root home directory) to
10.7.32.168:
See also
supportShow
diagUpload
-h hostName Specifies the host name of an FTP server.
-d destinationDirectory Specifies the destination directory.
-u userName Specifies the user name for the FTP server.
-p password Specifies the password for the user account.
-f fileName Specifies a core-dump file name. Without the
-f option, the supportShow command runs
internally to collect diagnostic information
and all core dumps upload to the specified
location.
switch:admin> diagupload -h 10.7.32.168 -d /tmp -u root -p password
switch:admin> diagupload -h 10.7.32.168 -d tmp -u root -p password
-f /usr/cores/xyz.core