HP StorageWorks Command View XP Advanced Edition Device Manager Agent Installation and Configuration Guide (December 2005)
Device Manager Agent Operations 50
Table 3-2 hldutil Command Syntax
Syntax
Component
Description
Options -k: Specify this option when outputting the latest execution-result log file to the standard output.
This processing involves no hardware access. Since the command skips processing for obtaining
logical device information, its execution does not affect device input or output. However, if the
execution-result log file contains no record, the command acquires logical device information and
outputs the results to the standard output and the execution-result log file. You cannot specify the
-k option and the -h or -hf option at the same time.
-hf [log-file]: The command outputs the contents of the specified execution-result log file to the
standard output. The command does not access any disk array device. If you omit the file name,
the command waits for the entry of a file name. If the specified file name does not identify an
execution-result log file, the command outputs an error message and ends. You cannot specify
the -hf option and the -k or -h option at the same time.
-h [log-number]: If you use the device information display function, the command outputs the
contents of the execution-result log file identified by the specified log number to the standard
output. The command does not access any disk array device. If you use the execution-result log
file management function, the command copies an execution-result log file. Assign the copy
source execution-result log file name to a log number and specify the -hb option to designate the
copy destination. If you omit the log number, the command displays a list of the existing
execution-result log files and waits for the entry of a log number. If the specified log number does
not identify an execution-result log file, the command outputs an error message and terminates.
You cannot specify the -h option and the -k or -hf option at the same time.
-hb [log-file]: Specify this option when copying an execution-result log file that is the result of
using the device information display function. The command copies the execution-result log file
specified by the -h option to the file specified by the -hb option. Use the full path name (including
directories) or relative path name for the file. If you omit the log file, the command waits for the
specification of a file name. If the specified file already exists, the command displays a prompt
asking whether to overwrite the file and waits for your reply. You must specify this option together
with the -h option. You cannot specify the -hb option together with any option other than -h.
-hrm [log-number|all]: Specify this option when deleting an execution-result log file that was
created when the device information display function was used. Specify the log number that
identifies the execution-result log file to be deleted. If you specify all instead of a log number, the
command deletes all execution-result log files from the default log storage directory. If you omit
the log number, the command displays a list of execution-result log files and waits for the
specification of a log number. If the specified log number does not identify any execution-result
log file, the command displays an error message and terminates. You cannot specify the -hrm
option together with any other option.
-history number: Specify the number of generations of execution-result log files to be retained.
The execution-result log files are created when the device information display function is used.
You can specify a number between 1 and 64. The default value that is effective when hdlutil is
installed is 32. The specified number becomes effective the next time the device information
display function is used to create an execution-result log file. You cannot specify the -history
option together with any other option.
Exit Status None.