1 format, 2 parameters – HP Hitachi Dynamic Link Manager Software User Manual
Page 424
6. Command Reference
400
6.2 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.
6.2.1 Format
(1) To set the path statistics to 0
/opt/DynamicLinkManager/bin/dlnkmgr clear -pdst [-s]
(2) To display the format of the clear operation
/opt/DynamicLinkManager/bin/dlnkmgr clear -help
6.2.2 Parameters
(1) 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
#