Format, Parameters, Format -3 – HP Hitachi Dynamic Link Manager Software User Manual
Page 397: To set the path statistics to 0 -3, To display the format of the clear operation -3, Parameters -3, Managed by the hdlm system. for details, see, Clear (returns the path
¢
Execute the command as a user with root permissions.
¢
To specify a value that contains a space in its parameter, enclose the
entire value in double quotes (").
clear (Returns the Path Statistics to the Initial Value)
The dlnkmgr command's clear operation clears the statistics (I/O count and
I/O errors) of all paths that are managed by HDLM, and returns them to their
initial value.
Format
To set the path statistics to 0
/opt/DynamicLinkManager/bin/dlnkmgr clear -pdst [-s]
To display the format of the clear operation
/opt/DynamicLinkManager/bin/dlnkmgr clear -help
Parameters
To Set the Path Statistics to 0
-pdst
Clears statistics (I/O count and I/O errors) of all paths managed by HDLM
to the initial value (0).
Example
# /opt/DynamicLinkManager/bin/dlnkmgr clear -pdst
KAPL01049-I Would you like to execute the operation?
Operation name = clear [y/n]:y
KAPL01001-I The HDLM command completed normally. Operation
name = clear, completion time = yyyy/mm/dd hh:mm:ss
#
-s
Executes the command without displaying a message asking for
confirmation of command execution from the user. Specify this parameter
if you want to skip the response to the confirmation message: for
example, when you want to execute the command in a shell script or
batch file.
Example
# /opt/DynamicLinkManager/bin/dlnkmgr clear -pdst -s
KAPL01001-I The HDLM command completed normally. Operation
name = clear, completion time = yyyy/mm/dd hh:mm:ss
Command Reference
6-3
Hitachi Dynamic Link Manager User Guide for Linux
®