Emulex EMULEX User Manual

Page of 36
FCA Utilities Reference Manual
Page 25
parm_set <label> <val> - Sets the value of a specified parameter in the driver.
msgbuf all or <number> [-i interval] - Returns the driver's internal message log.
get_host_attrs - Returns the host adapter and port attributes.
get_port_attrs <index>, <wwn> or all - Returns the port attributes.
get_path <index> - Returns the adapter path.
q - Exits this program.
h - Returns this help screen.
hba - Select another hba.
p - Repeat previous command.
hba
Allows you to select another HBA to interface with. This prevents you from having to exit and reenter the 
program.
Example:
emlxadm> hba
Available HBA's:
1.  /devices/pci@1e,600000/SUNW,qlc@3/fp@0,0:devctl (CONNECTED)
2.  /devices/pci@1e,600000/SUNW,qlc@3,1/fp@0,0:devctl (NOT CONNECTED)
3.  /devices/pci@1e,600000/SUNW,emlxs@2/fp@0,0:devctl (CONNECTED)
4.  /devices/pci@1e,600000/SUNW,emlxs@2,1/fp@0,0:devctl (NOT CONNECTED)
Enter an HBA number or zero to exit:
p
Repeats the last command.
Example:
emlxadm> get_num_devs
There are 4 devices reported on this port.
emlxadm> p 
emlxadm> get_num_devs
There are 4 devices reported on this port.