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不需要确认操作

转载于:https://www.cnblogs.com/cqubityj/p/3656534.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值