User`s guide
8.18 Using iostat and Other Utilities
Some utilities do not recognize nonnumeric naming formats. Also, some utilities
do not recognize a device if the device name has more than two numbers after
the rz, or the utility may truncate the numbers. For example: rz445 might be
seen as rz44. Some utilities cannot differentiate between rz446 or rz448. Also
some utilities do not recognize the rzxnny format that has been described in this
chapter, such as rza44a.
One such utility is iostat. If all eight LUNs for an HSZ40 Target ID are
configured into units, and if all eight entries exist in the configuration file, then
the following procedure can be used for iostat.
The iostat utility is invoked using the following format:
iostat rznn s t
The
nn
is equal to the numeric value that is used in
the DEC OSF/1 device name. Do not use the
rzxnn
,
where the
x
is the alphabetic character that denotes
the LUN number. Iostat ignores the alphabetic character.
The
s
denotes the amount of time, in seconds, between screen
updates. This is optional.
The
t
denotes the total number of screen updates. It
is also optional.
The output from iostat shows all eight devices that use the
numeric number
nn
. If you want to see activity on the LUN 0
for rznn, use the information from the first column that shows
the rznn name, as viewed from left to right. To see activity from
LUN 1 on rznn use the second column, and so forth.
Your terminal screen width should be set to 132.
**************************************************************************
# iostat rz16 5 4
rz16 rz16 rz16 rz16 rz16 rz16 rz16 rz16
bps tps bps tps bps tps bps tps bps tps bps tps bps tps bps tps
00 00 00 00 00 00 001263
0 0 0 0 0 0 0 0 0 0 0 0 0 0 1618 34
0 0 0 0 0 0 0 0 0 0 0 0 0 0 1639 34
0 0 0 0 0 0 0 0 0 0 0 0 0 0 1610 34
**************************************************************************
The above display shows activity on LUN 7 that relates to device rzh16.
The nn is equal to the numeric value that is used in the DEC OSF/1 device name.
Do not use the rzxnny format because iostat ignores the x and the y.
The output from iostat shows all eight devices that use the numeric number
nn. If you wish to see activity on the LUN 0 for rznn, use the information from
the first column that shows the rznn name, as viewed from left to right. To see
activity from LUN 1 on rznn use the second column, and so forth.
Currently this is the only way to use the iostat utility. This is why all LUNs from
0 to 7 should be listed in the configuration file.
8–42 Operating System Support