view命令主要用于显示program information, path information, LU information, HBA port information, CHA port
information, and corresponding information about an HDLM device, sd or ssd device, and LDEV.

1. 显示HDLM程序信息

命令格式


dlnkmgr view -sys [ -sfunc | -msrv | -adrv | -pdrv | -lic | -audlog | -lbpathusetimes | -expathusetimes ] [-t]

-t: 不显示标题

程序信息表-sfunc (HDLM功能设置)

Item Description
HDLM Version HDLM版本号
Service Pack Version Service Pack版本号, 空表示没Service Pack
Load Balance 状态: on - Enabled;  off - Disabled

算法: rr - Round Robin; extended rr - Extended Round Robin; lio - Least I/Os; extended lio - Extended Least I/Os; lbk - Least Blocks; extended lbk - Extended Least Blocks
Support Cluster Blank#
Elog Level 0 - Collects no error information; 1 - Collects error information at the Error level or higher; 2 - Collects error information at the Warning level or higher; 3 - Collects error information at the Information or higher; 4 - Collects error information at the Information level or higher (including maintenance information).
Elog File Size (KB) Error log 文件大小 (KB)
Number Of Elog Files Error log文件个数
Trace Level 0 - Does not output any trace; 1 - Only outputs error information; 2 - Outputs a summary of program operation; 3 - Outputs details of program operation; 4 - Outputs all information
Trace File Size (KB) Trace文件大小 (KB)
Number Of Trace Files Trace文件个数
Path Health Checking 状态:  on - Enabled;  off - Disabled 
interval:  (分钟)
Auto Failback 状态:  on - Enabled;  off - Disabled 
check interval:  (分钟)
Intermittent Error Monitor 状态:  on - Enabled;  off - Disabled 
Auto Failback - off => Intermittent Error Monitor - disabled (但状态可能显示为on)

Auto Failback - on => Intermittent Error Monitor - enabled

number-of-timeserror-is-to-occur/monitoring-interval (分钟)

示例

-bash-3.2# dlnkmgr view -sys -sfunc
HDLM Version : 7.3.1
Service Pack Version :
Load Balance : on(extended lio)
Support Cluster :
Elog Level : 3
Elog File Size (KB) : 9900
Number Of Elog Files : 2
Trace Level : 0
Trace File Size (KB) : 1000
Number Of Trace Files : 4
Path Health Checking : on(30)
Auto Failback : on(1)
Intermittent Error Monitor : off
Dynamic I/O Path Control : off(10)
KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2014/04/10 15:05:56

程序信息表-msrv (HDLM manager信息)

Item Description
HDLM Manager 状态:  Alive - 正常;  Dead - 停止
Ver 版本
WakeupTime 启动时间

示例

-bash-3.2# dlnkmgr view -sys -msrv
HDLM Manager Ver WakeupTime
Alive 7.3.1-00 2014/04/10 11:07:33
KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2014/04/10 15:51:01

程序信息表-adrv (HDLM alert driver信息)

Item Description
HDLM Alert Driver 状态:  Alive - 正常;  Dead - 停止
Ver 版本
WakeupTime 启动时间
ElogMem Size Error log memory大小 (KB)

示例

-bash-3.2# dlnkmgr view -sys -adrv

HDLM Alert Driver Ver        WakeupTime          ElogMem Size

Alive             7.3.1-00   2014/04/10 11:07:00 4096

KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2014/04/10 15:54:48

程序信息表-pdrv (HDLM driver信息)

Item Description
HDLM Driver 状态:  Alive - 正常;  Dead - 停止
Ver 版本
WakeupTime 启动时间

示例

-bash-3.2# dlnkmgr view -sys -pdrv

HDLM Driver Ver        WakeupTime

Alive       7.3.1-00   2014/04/10 11:07:00

KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2014/04/10 15:57:22

程序信息表-lic (HDLM license信息)

Item Description
License Type 状态: Permanent; Temporary; Emergency
Expiration 过期时间

示例

-bash-3.2# dlnkmgr view -sys -lic

License Type Expiration

Permanent    -

KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2014/04/10 15:58:34

程序信息表-audlog (HDLM审计配置信息)

Item Description
Audit Log 状态: on - Enabled;  off - Disabled 
级别: 0 - 7
Audit Log Category 类别: ss – StartStop; a – Authentication; ca – ConfigurationAccess; all - 上述所有
Audit Log Facility

The name of the audit log facility is displayed. user, local0, local1, local2, local3, local4, local5,local6, or local7 is displayed.

示例

-bash-3.2# dlnkmgr view -sys -audlog

Audit Log                    : off

Audit Log Category           : -

Audit Log Facility           : -

KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2014/04/10 16:01:40

2. 显示path信息

命令格式 (三种)

不选择显示列 (显示所有列)
dlnkmgr view -path [ -hdev HostDeviceName ] [-stname] [-iem]
[-srt {pn | lu | cp}] [-hbaportwwn] [-t] 使用-item选择显示列
dlnkmgr view -path
-item [pn] [dn] [lu] [cp] [type] [ic] [ie] [dnu]
[hd] [iep] [hbaportwwn]
[ -hdev HostDeviceName ] [-stname] [-srt {pn | lu | cp}] [-t] 显示汇总信息
dlnkmgr view -path -c [-stname] [-srt {lu | cp}] [-t]

参数表

Item Description
-hdev HostDeviceName 只显示指定设备的路径信息,以cXtYdZ方式指定
-stname 在DskName列中显示存储的model ID
-srt {pn|lu|cp} 指定排序键. pn - Path name; lu - LUN; cp - Port number of the CHA

规则: first sorting key->DskName; second sorting key-> -srt参数; third sorting key->AutoPATH_ID
-iem 显示intermittent errors
-hbaportwwn 显示hba卡port wwn
-t 不显示标题

ITEM对照表

Item Abbr
PathID# NONE
PathName pn
HBAPortWWN hbaportwwn
DskName dn
iLU lu
ChaPort cp
Status# NONE
Type type
IO-Count ic
IO-Errors ie
DNum dnu
HDevName hd
IEP iep

示例

显示所有路径信息
-bash-3.2# dlnkmgr view -path -stname -iem -hbaportwwn
Paths:000002 OnlinePaths:000002
PathStatus IO-Count IO-Errors
Online 14242 0 PathID PathName HBAPortWWN DskName iLU ChaPort Status Type IO-Count IO-Errors DNum HDevName IEP
000000 0000.0000.0000000000020100.0000 210000E08B9CA09F HITACHI .AMS .75040975 0049 0A Online Own 14242 0 - c4t50060E80102A00F0d0 -
000001 0001.0000.0000000000020100.0000 210000E08B9CA977 HITACHI .AMS .75040975 0049 1A Online Non 0 0 - c4t50060E80102A00F0d0 -
KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2014/04/10 16:31:00 显示指定设备路径信息
-bash-3.2# dlnkmgr view -path -hdev c4t50060E80102A00F0d0
Paths:000002 OnlinePaths:000002
PathStatus IO-Count IO-Errors
Online 14374 0 PathID PathName DskName iLU ChaPort Status Type IO-Count IO-Errors DNum HDevName
000000 0000.0000.0000000000020100.0000 HITACHI .DF600F .75040975 0049 0A Online Own 14374 0 - c4t50060E80102A00F0d0
000001 0001.0000.0000000000020100.0000 HITACHI .DF600F .75040975 0049 1A Online Non 0 0 - c4t50060E80102A00F0d0
KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2014/04/10 16:32:34 显示指定item信息
-bash-3.2# dlnkmgr view -path -item pn dn lu hd hbaportwwn -stname
Paths:000002 OnlinePaths:000002
PathStatus IO-Count IO-Errors
Online 14784 0 PathID PathName HBAPortWWN DskName iLU Status HDevName
000000 0000.0000.0000000000020100.0000 210000E08B9CA09F HITACHI .AMS .75040975 0049 Online c4t50060E80102A00F0d0
000001 0001.0000.0000000000020100.0000 210000E08B9CA977 HITACHI .AMS .75040975 0049 Online c4t50060E80102A00F0d0
KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2014/04/10 16:36:37 显示概要信息
-bash-3.2# dlnkmgr view -path -c -stname
Paths:000002 OnlinePaths:000002
PathStatus IO-Count IO-Errors
Online 14884 0 PathID DskName iLU CP Status Type
000000 HITACHI .AMS .75040975 0049 0A Online Own
000001 HITACHI .AMS .75040975 0049 1A Online Non
KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2014/04/10 16:37:35

3. 显示LUN信息

命令格式 (四种)

显示基本信息
dlnkmgr view -lu [ -hdev HostDeviceName | -pathid AutoPATH_ID ] [-t] 显示指定列信息
dlnkmgr view -lu
-item [ [slpr] [pn] [cp] [clpr] [type]
[ic] [ie] [dnu] [iep] [pd] [dpc] | all ]
[ -hdev HostDeviceName | -pathid AutoPATH_ID ] [-t] 显示概要信息
dlnkmgr view -lu -c [-t] 显示概要信息, 多个slpr分区信息
dlnkmgr view -lu -c -item [slpr] [-t]

参数表

Item Description
-hdev HostDeviceName 只显示指定设备信息,以cXtYdZ方式指定
-pathid AutoPATH_ID 只显示指定pathid的设备信息 (dlnkmgr view -path包括pathid信息)
-t 不显示标题

ITEM对照表

Item Abbr
SLPR slpr
PathName pn
ChaPort cp
CLPR clpr
Type type
IO-Count ic
IO-Errors ie
DNum dnu
IEP iep
Physical Device pd
all items are displayed all

示例

显示lun信息
-bash-3.2# dlnkmgr view -lu
Product : AMS
SerialNumber : 75040975
LUs : 1 iLU HDevName Device PathID Status
0049 c4t50060E80102A00F0d0 ssd0 000000 Online
ssd1 000001 Online
KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2014/04/10 16:58:38 显示所有item
-bash-3.2# dlnkmgr view -lu -item all
Product : AMS
SerialNumber : 75040975
LUs : 1 iLU SLPR HDevName Device PathID PathName ChaPort CLPR Status Type IO-Count IO-Errors DNum IEP Physical Device
0049 - c4t50060E80102A00F0d0 ssd0 000000 0000.0000.0000000000020100.0000 0A 0 Online Own 17005 0 - - /devices/pci@0/pci@0/pci@8/pci@0/pci@1/QLGC,qlc@0/fp@0,0/ssd@w50060e80102a00f0,0
ssd1 000001 0001.0000.0000000000020100.0000 1A 0 Online Non 0 0 - - /devices/pci@0/pci@0/pci@9/QLGC,qlc@0/fp@0,0/ssd@w50060e80102a00f2,0
KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2014/04/10 16:58:47 显示概要信息
-bash-3.2# dlnkmgr view -lu -c
Product S/N LUs iLU HDevName Paths OnlinePaths
AMS 75040975 1 0049 c4t50060E80102A00F0d0 2 2
KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2014/04/10 16:59:14 显示概要信息及slpr
-bash-3.2# dlnkmgr view -lu -c -item slpr
Product S/N LUs iLU SLPR HDevName Paths OnlinePaths
AMS 75040975 1 0049 - c4t50060E80102A00F0d0 2 2
KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2014/04/10 17:00:16

4. 显示device信息

命令格式

dlnkmgr view -drv [-t]

示例

-bash-3.2# dlnkmgr view -drv
PathID HDevName Device LDEV
000000 c4t50060E80102A00F0d0 ssd0 AMS.75040975.0049
000001 c4t50060E80102A00F0d0 ssd1 AMS.75040975.0049
KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2014/04/10 17:11:53

5. 显示HBA卡信息

命令格式

dlnkmgr view -hba [-srt pb] [-c | -portwwn] [-t]

示例

显示hba信息
-bash-3.2# dlnkmgr view -hba
HbaID Port.Bus IO-Count IO-Errors Paths OnlinePaths Physical Device
00000 0000.0000 20398 0 1 1 /devices/pci@0/pci@0/pci@8/pci@0/pci@1/QLGC,qlc@0/fp@0,0/ssd@w50060e80102a00f0,0
00001 0001.0000 0 0 1 1 /devices/pci@0/pci@0/pci@9/QLGC,qlc@0/fp@0,0/ssd@w50060e80102a00f2,0
KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2014/04/10 17:12:31 显示概要信息
-bash-3.2# dlnkmgr view -hba -c
HbaID Port.Bus IO-Count IO-Errors Paths OnlinePaths
00000 0000.0000 20402 0 1 1
00001 0001.0000 0 0 1 1
KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2014/04/10 17:12:36 显示wwn号
-bash-3.2# dlnkmgr view -hba -portwwn
HbaID Port.Bus HBAPortWWN IO-Count IO-Errors Paths OnlinePaths Physical Device
00000 0000.0000 210000E08B9CA09F 20418 0 1 1 /devices/pci@0/pci@0/pci@8/pci@0/pci@1/QLGC,qlc@0/fp@0,0/ssd@w50060e80102a00f0,0
00001 0001.0000 210000E08B9CA977 0 0 1 1 /devices/pci@0/pci@0/pci@9/QLGC,qlc@0/fp@0,0/ssd@w50060e80102a00f2,0
KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2014/04/10 17:12:48

6. 显示存储端口信息

命令格式

dlnkmgr view -cha [-srt cp] [-t]

示例

-bash-3.2# dlnkmgr view -cha
ChaID Product SerialNumber ChaPort IO-Count IO-Errors Paths OnlinePaths
00000 AMS 75040975 0A 20380 0 1 1
00001 AMS 75040975 1A 0 0 1 1
KAPL01001-I The HDLM command completed normally. Operation name = view, completion time = 2014/04/10 17:12:20

HDLM命令dlnkmgr详解之三__view的更多相关文章

  1. HDLM命令dlnkmgr详解之五_set

    set命令用来设置HDLM的操作环境及参数. set操作设置的大部分是dlnkmgr view -sys命令中显示的参数值 命令格式 dlnkmgr set { -lb on [ -lbtype { ...

  2. HDLM命令dlnkmgr详解之四_monitor/offline/online

    1. monitor 以一定的时间间隔监控hba或cha口的IO信息. 命令格式 监控hba口的IO信息: dlnkmgr monitor -hbaid HBA_ID [-intvl Interval ...

  3. HDLM命令dlnkmgr详解之二__help/clear

    1.help操作 主要显示命令的帮助信息. 显示所有操作的帮助信息 -bash-3.2# dlnkmgr help dlnkmgr: Format dlnkmgr { clear | help | o ...

  4. HDLM命令dlnkmgr详解之一__命令格式

    dlnkmgr命令格式 dlnkmgr operation [parameter [parameter-value]] dlnkmgr - The command name. operation - ...

  5. Linux 执行文件查找命令 which 详解

    某个文件不知道放在哪里了,通常可以使用下面的一些命令来查找: which  查看可执行文件的位置 whereis 查看文件的位置 locate   配合数据库查看文件位置 find   实际搜寻硬盘查 ...

  6. systemctl命令用法详解

    systemctl命令用法详解系统环境:Fedora 16binpath:/bin/systemctlpackage:systemd-units systemctl enable httpd.serv ...

  7. Fragment详解之三——管理Fragment(1)

    相关文章: 1.<Fragment详解之一--概述>2.<Fragment详解之二--基本使用方法>3.<Fragment详解之三--管理Fragment(1)>4 ...

  8. 批处理中的echo命令图文详解

    批处理中的echo命令图文详解 1. Echo 显示当前ECHO的状态:ECHO ON 或者ECHO OFF 2. ECHO ON 将ECHO状态设置为ON,将显示命令行,也就是前面的C:\>类 ...

  9. Ubuntu kill命令用法详解

    转自:Ubuntu kill命令用法详解 1. kill   作用:根据进程号杀死进程   用法: kill [信号代码] 进程ID   root@fcola:/# ps -ef | grep sen ...

随机推荐

  1. 分布式技术 webservice

    web service 是一个平台独立的.低耦合的.自包含的.基于编程的web的应用程序,可使用开发的XML(标准通用标记语言下的一个字表)标准来描述.发布.发现.协调和配置这些应用程序,用于开发分布 ...

  2. ReverseInteger

    public class ReverseInteger { public static int reverse(int x) { long ret = 0; //如果是个位数,直接返回. if(x/1 ...

  3. Java执行过程

    Java的运行原理 在Java中引入了虚拟机的概念,即在机器和编译程序之间加入了一层抽象的虚拟的机器.这台虚拟的机器在任何平台上都提供给编译程序一个的共同的接口.编译程序只需要面向虚拟机,生成虚拟机能 ...

  4. 一个渣渣tomcat的学习成果.

    //////////////////////////////////////写在前面////////////////////////////////////// 时隔几个月,恢复更新了,之前由于一些私 ...

  5. js状态模式

    状态模式,当一个对象的内在状态改变时允许改变其行为,这个对象看起来是改变了其类. 状态模式主要解决的是当控制一个对象状态转换的条件表达式过于复杂时的情况.把状态的判断逻辑转移到表示不同状态的一系列类当 ...

  6. 【疯了C#】神奇的换肤(二)

    昨天参照了网上的资料练习了换肤,今天进一步的实现选择换肤 其实很简单,需要实现的功能如下点击combobox中的不同项目然后面板会自动的切换到相应的界面主题. 界面如下: 下述代码参照 “张隽永” 博 ...

  7. "阿拉伯""伊斯兰""穆斯林"三个概念怎么分?

    伊斯兰.阿拉伯.穆斯林这三个概念到底有什么不同?要言君将用五分钟给您概述这三个概念,并厘清其边界,说明其交集,帮您迅速构建"阿拉伯.伊斯兰.穆斯林"知识结构概图.相信您得沉思一下费 ...

  8. 太深了,梯度传不下去,于是有了highway。 干脆连highway的参数都不要,直接变残差,于是有了ResNet。 强行稳定参数的均值和方差,于是有了BatchNorm。RNN梯度不稳定,于是加几个通路和门控,于是有了LSTM。 LSTM简化一下,有了GRU。

    请简述神经网络的发展史sigmoid会饱和,造成梯度消失.于是有了ReLU.ReLU负半轴是死区,造成梯度变0.于是有了LeakyReLU,PReLU.强调梯度和权值分布的稳定性,由此有了ELU,以及 ...

  9. mysql 语文成绩大于80,数学成绩大于80

    mysql> select name from test where name = any(select name from test where chengj i > 80 and xu ...

  10. 按返回键退出程序但不销毁代码,像QQ一样,后台运行

    @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (keyCode == KeyEvent.KEYCODE_BA ...