Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

control by using the vxdmpadm include command. The devices can be included
or excluded based on VID:PID combination, paths, controllers, or disks. You can
use the bang symbol (!) to exclude or include any paths or controllers except the
one specified.
Note: The ! character is a special character in some shells. The following syntax
shows how to escape it in a bash shell.
# vxdmpadm exclude [vxvm | vxdmp] { all | product=VID:PID |
ctlr=[\!]ctlr | dmpnodename=diskname [ path=\!pathname] }
# vxdmpadm include [vxvm | vxdmp] { all | product=VID:PID |
ctlr=[\!]ctlr | dmpnodename=diskname [ path=\!pathname] }
where:
all all devices
product=VID:PID all devices with the specified VID:PID
ctlr=ctlr all devices through the given controller
dmpnodename=diskname - all paths under the DMP node
dmpnodename=diskname path=\!pathname - all paths under the DMP node except
the one specified.
Gathering and displaying I/O statistics
You can use the vxdmpadm iostat command to gather and display I/O statistics
for a specified DMP node, enclosure, path or controller.
To enable the gathering of statistics, enter this command:
# vxdmpadm iostat start [memory=size]
To reset the I/O counters to zero, use this command:
# vxdmpadm iostat reset
The memory attribute can be used to limit the maximum amount of memory that
is used to record I/O statistics for each CPU. The default limit is 32k (32 kilobytes)
per CPU.
To display the accumulated statistics at regular intervals, use the following
command:
171Administering Dynamic Multi-Pathing
Administering DMP using vxdmpadm