Question: how to get wwpn in linux?
Answer: x or earlier, to find the WWPN run the cat /proc/scsi/ adapter_type / n command, where adapter_type is the host adapter type, and n is the host adapter number for your card. In most cases, the adapter type is qla2 xxx . where n is the host adapter number for your card.