LSZFCP(8) | System Manager's Manual | LSZFCP(8) |
lszfcp - list information about zfcp adapters, ports, and units
lszfcp [-hvVaHDP] [-b busid] [-l lun] [-p wwpn] [-s /path/to/sys]
lszfcp provides information contained in sysfs about zfcp adapters, ports and units and its associated scsi_hosts, fc_hosts, fc_remote_ports and scsi_devices.
The default is to list busids of all zfcp adapters and their corresponding SCSI host names.
There are three output variants. Default (without options "-a" or "-V") is one line for each object. For adapters the busid and their corresponding SCSI host names are listed. For ports the pair "busid"/"wwpn" and their corresponding FC-remote-port names are listed. For units the triple "busid"/"wwpn"/"lun" and their corresponding SCSI device names are listed.
Option "-V" additionally shows the sysfs paths of interest for the listed object.
Option "-a" additionally shows all attributes of interest found in sysfs for the listed object.
Options "-b", "-p" or "-l" are of restricting nature. They limit the output to those adapters, ports or units that match the specified busid, wwpn and lun. If none of the options "-H", "-P" and "-D" are specified, "-b" implies "-H", "-p" implies "-P" and "-l" implies "-D".
Mar 2008 | s390-tools |