Installation guide

The following example shows that performance tests are run on the a
partition of /dev/rz0, and program output is logged to the diskx.out
file. The S flag causes sequential transfers for the best test results.
Testing is done over the default range of transfer sizes:
# diskx -f /dev/rz0a -o diskx.out -p -S
The following command runs the read test on all partitions of the specified
disks. The disk exerciser is invoked as three separate processes, which
generate extensive system I/O activity. The command shown in this
example can be used to test system stress:
# diskx -f /dev/rrz0 -r &; diskx -f /dev/rrz1 -r &; diskx -
f /dev/rrz2 -r &
F.1.7 Exercising a Tape Drive
Use the tapex command to exercise a tape drive. The tapex command
writes, reads, and validates random data on a tape device from the
beginning-of-tape (BOT) to the end-of-tape (EOT). The tapex command also
performs positioning tests for records and files, and tape transportability
tests. For more information, refer to the tapex
(8) reference page.
Some tapex flags perform specific tests (for example, an end-of-media
(EOM) test). Other flags modify the tests, for example, by enabling caching.
The tapex command has the following syntax:
tapex
[ flags][parameters]
You can specify one or more of the flags described in Table F–1. In addition
to flags, you can also specify test parameters. You specify parameters on
the tapex command line or interactively with the i flag. If you do not
specify test parameters, default values are used.
To use a test parameter, specify the parameter name, a space, and the
number value. For example, you could specify the following parameter:
min_rs 512
Note that you can use the following scaling factors:
k or K (for kilobyte (1024 * n))
b or B (for block (512 * n))
m or M (for megabyte (1024 * 1024 * n))
For example, 10K would specify 10,240 bytes.
The following parameters can be used with all tests:
F–12 Using the System Exercise Tools