Hitachi Dynamic Link Manager Software Users Guide for AIX (6.6) (T5208-96010, April 2011)

6. Command Reference
230
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
/usr/DynamicLinkManager/bin/dlnkmgr clear -pdst [-s]
(2) To Display the Format of the Clear Operation
/usr/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
# /usr/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
# /usr/DynamicLinkManager/bin/dlnkmgr clear -pdst -s
KAPL01001-I The HDLM command completed normally.
Operation name = clear, completion time = yyyy/mm/dd
hh:mm:ss
#