HP-UX Reference (11i v2 03/08) - 1M System Administration Commands A-M (vol 3)

f
fcmsutil(1M) fcmsutil(1M)
clear_devstat
This option is used to clear the statistics associated with a target.
If the remote-N-Port-ID is specified, then the statistics associated with that N_port are
cleared. If the
all option is specified, statistics associated with all valid N_Port_IDs are
cleared.
replace_dsk
This option is used to specify that no authentication should be performed the next time
we communicate with the device. This option is to be used by system administrators for
replacing a disk, with another (with the same N_Port_ID). Note that this is not required,
if the new disk acquires a new N_Port_ID.
disable WARNING: This is a DESTRUCTIVE test and communication to all nodes will
be terminated.
-f disable The -f option can be used to suppress the warning message displayed.
This option is used to disable a card, typically because of a hardware problem which can-
not be resolved and is interfering with system performance.
enable This option is used to enable a card, typically when a previous hardware problem has
been resolved.
ns_query_ports
This option is used to query the name server and get the list of nports. -k option can be
used to get the list of nports cached by the driver.
EXAMPLES
Print the remote port parameters using the get remote option if the driver is idle.
/dev/fcms1 is the
device file and
/dev/rdsk/c27t0d0
is the respective raw disk file.
fcmsutil /dev/fcms1 get remote 0x98 < /dev/rdsk/c27t0d0
Print a short listing of the statistics maintained by the driver, with
/dev/td1 as the device file.
fcmsutil /dev/td1 stat -s
Send 5 echo packets of 200 bytes each to a remote N_Port with loop_id 4, with
/dev/td1 as the device
file
fcmsutil /dev/td1 echo -l 4 200 5
Print a short listing of the statistics of the device whose
remote-N-Port-ID is 0x02ae4 and with
/dev/td1 as the device file
fcmsutil /dev/td1 devstat 0x02ae4
Clear the device statistics of the device whose wwn is 0x100000e002219f45 and with
/dev/td1 as the
device file
fcmsutil /dev/td1 clear_devstat -w 0x100000e002219f45
AUTHOR
/opt/fcms/bin/fcmsutil was developed by HP.
Section 1M184 Hewlett-Packard Company 4 HP-UX 11i Version 2: August 2003