Solaris SFS Driver User Manual Page 110

dev_logout <wwpn>

Performs an FC logout to an FC device on the network, if not already logged in.
Example:
emlxadm> dev_logout 21000020371938fa
Done.

get_state <wwpn>

Returns the current Leadville state of the specified FC device on the network.
Example:
emlxadm> get_state 21000020371938fa
State: PORT_DEVICE_LOGGED_IN

dev_remove <wwpn>

Removes the specified FC device from Leadville management.

link_status <d_id>

Requests and returns the current link error status from the FC device specified by the d_id address.
Example:
emlxadm> link_status e8
D_ID: e8
Link failures: 3 (0x3)
Loss of sync count: 12 (0xc)
Loss of signal count: 0 (0x0)
Primitive sequence errors: 0 (0x0)
Invalid tx words: 17 (0x11)
Invalid CRC count: 0 (0x0)

get_fcode_rev

Returns the current FCode revision of the HBA.
Example:
emlxadm> get_fcode_rev
FCODE revision: LP10000-S 1.41a3
WARNING: This command is currently not properly supported in the Leadville stack and will cause the
host operating system to panic.