scsimgr.1m (2011 03)

s
scsimgr(1M) scsimgr(1M)
To get statistics for legacy LUN
/dev/rdsk/c0t0d0:
scsimgr get_stat -D /dev/rdsk/c0t0d0
To get basic statistics for all LUN paths of
disk0:
scsimgr get_stat -D /dev/rdisk/disk0 all_lpt
To get all statistics for the SCSI controller with class
fc and instance number 1:
scsimgr -v get_stat -C fc -I 1
To get all the statistics for target path with the hardware path of
0/4/1/0.0x60060b000014f45a0001000000000011
:
scsimgr -v get_stat -H 0/4/1/0.0x60060b000014f45a0001000000000011
To get driver esdisk specific statistics for
disk0:
scsimgr get_stat -D /dev/rdisk/disk0 -d esdisk
To clear global statistics:
scsimgr clear_stat
To clear statistic for the SCSI controller with class
fc and instance number 1:
scsimgr clear_stat -C fc -I 1
To clear statistic for all target paths of the SCSI controller with class fc and instance number 1:
scsimgr clear_stat -C fc -I 1 all_tp
To get basic global status and information:
scsimgr get_info
To get global status information for driver esdisk:
scsimgr -v get_info -d esdisk
To get all status information of all the LUNs:
scsimgr -v get_info all_lun
To get basic status information for disk0:
scsimgr get_info -D /dev/rdisk/disk0
To get basic status information for all LUN paths of disk0:
scsimgr get_info -D /dev/rdisk/disk0 all_lpt
To get all status information for the SCSI controller with class escsi_ctlr and instance number 1:
scsimgr -v get_info -C escsi_ctlr -I 1
To get all status information for the SCSI enclosure with instance number 3:
scsimgr -v get_info -O encl -I 3
To get all status information for the SCSI target port with instance number 7:
scsimgr -v get_info -O tport -I 7
To get all status information for target path with the hardware path of
0/4/1/0.0x60060b000014f45a0001000000000011
:
scsimgr -v get_info -H 0/4/1/0.0x60060b000014f45a0001000000000011
To display LUN path information for all LUNs:
scsimgr lun_map
To display LUN path information for disk0:
scsimgr lun_map -D /dev/rdisk/disk0
To display LUN path information for disk0 in a form that can be parsed:
scsimgr -p lun_map -D /dev/rdisk/disk0
24 Hewlett-Packard Company 24 HP-UX 11i Version 3: March 2011