HDLM命令dlnkmgr详解之二__help/clear
1、help操作
主要显示命令的帮助信息。
显示所有操作的帮助信息
-bash-3.2# dlnkmgr help dlnkmgr: Format dlnkmgr { clear | help | offline | online | set | view | monitor } KAPL01001-I The HDLM command completed normally. Operation name = help, completion time = 2014/04/10 14:34:55
显示help操作的帮助信息
-bash-3.2# dlnkmgr help help help: Format dlnkmgr help { clear | offline | online | set | view | monitor } KAPL01001-I The HDLM command completed normally. Operation name = help, completion time = 2014/04/10 14:36:34
显示一个或多个操作的帮助信息
-bash-3.2# dlnkmgr help clear online clear: Format dlnkmgr clear -pdst [-s] online: Format dlnkmgr online [-path] [-s] dlnkmgr online [-path] { -hba HBAPortNumber.BusNumber | -hbaid HBA_ID } [-s] dlnkmgr online [-path] { -cha -pathid AutoPATH_ID | -chaid CHA_ID } [-s] dlnkmgr online [-path] -pathid AutoPATH_ID [-s] dlnkmgr online [-path] -device SCSI_Device_Name [-s] Valid value AutoPATH_ID { 000000 - 999999 }(Decimal) HBA_ID { 00000 - 99999 }(Decimal) CHA_ID { 00000 - 99999 }(Decimal) KAPL01001-I The HDLM command completed normally. Operation name = help, completion time = 2014/04/10 14:37:41
2、clear操作
将IO count、IO errors统计数据清零。
命令格式
dlnkmgr clear -pdst [-s] -pdst: 将统计数据清零 -s: 忽略操作确认信息
示例
-bash-3.2# 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 = 2014/04/10 14:48:34 不加-s需要确认操作。 -bash-3.2# dlnkmgr clear -pdst -s KAPL01001-I The HDLM command completed normally. Operation name = clear, completion time = 2014/04/10 14:49:27 加了-s不需要确认操作