What is the command to check wwn # in linux?

Answer Posted / maneeshkumar

Emulex HBA Adaptor.

Find the WWPN.
Step1:
Confirm if the HBA is Emulex.
# lspci
......
0e:00.0 Fibre Channel: Emulex Corporation Zephyr LightPulse
Fibre Channel Host Adapter (rev 02)
17:00.0 Fibre Channel: Emulex Corporation Zephyr LightPulse
Fibre Channel Host Adapter (rev 02)
#

Step2:
# cd /sys/class/fc_host/
# ls -l
total 0
drwxr-xr-x 3 root root 0 Oct 14 20:57 host0
drwxr-xr-x 3 root root 0 Oct 14 20:57 host1
# cat port_name
0x10000000c97a37cf
#

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is unix finger command?

514


What are linux commands?

541


How do you insert comments in the command line prompt?

762


How to write the output of a command to a file?

576


Explain trap command; shift command, getopts command of linux?

565






How many commands are there in linux?

559


What is a ulimit in unix?

514


What is llvm used for?

523


What does ls mean in linux?

581


How do you copy in terminal?

559


How do I create a .txt file?

544


How do I know my shell?

540


What does kill in linux?

540


Suppose I lost a root password and I need to give it, I treid to change it through single usermode even though I am not get a password, then what is the otherprocedure to give a root password?

538


What happens to hard link when file is deleted?

498