Installation guide

using either the dia command (preferred) or the uerf command. For
information on the error logger, see the Section 13.1. For the meanings of
the error numbers and signal numbers, see the intro
(2) and sigvec(2)
reference pages.
F.1.3 Exercising a File System
Use the fsx command to exercise the local file systems. The fsx command
exercises the specified local file system by initiating multiple processes, each
of which creates, writes, closes, opens, reads, validates, and unlinks a test
file of random data. For more information, see the fsx
(8) reference page.
_______________________ Note _______________________
Do not test NFS file systems with the fsx command.
The fsx command has the following syntax:
fsx
[-f path][h][o file][p num][t min]
You can specify one or more of the following flags:
f
path
Specifies the pathname of the file system directory you want to
test. For example, f/usr or f/mnt. The default is
/usr/field.
h
Displays the help message for the fsx command.
o
file
Saves the output diagnostics in
file.
p
num
Specifies the number of fsxr processes you want fsx to
initiate. The maximum number of processes is 250. The
default is 20.
t
min
Specifies how many minutes you want the fsx command to
exercise the file system. If you do not specify the t flag, the
fsx command runs until you terminate it by pressing Ctrl/C
in the foreground.
The following example of the fsx command tests the /usr file system with
five fsxr processes running for 60 minutes in the background:
# fsx -p5 -f/usr -t60 &
Using the System Exercise Tools F–3