Installation guide

-tmin Specifies how many minutes you want the memx command to
exercise the memory. If you do not specify the -t flag, the
memx command runs until you terminate it by pressing Ctrl/C
in the foreground.
The following example of the memx command initiates five memxr processes
that test 4095 bytes of memory and runs in the background for 60 minutes:
# memx m4095 p5 t60 &
F.1.5 Exercising Shared Memory
Use the shmx command to exercise the shared memory segments. The
shmx command spawns a background process called shmxb. The shmx
command writes and reads the shmxb data in the segments, and the shmxb
process writes and reads the shmx data in the segments.
Using shmx, you can test the number and the size of memory segments and
shmxb processes. The shmx exerciser runs until the process is killed or
until the time specified by the t flag is exhausted.
You automatically invoke the shmx exerciser when you start the memx
exerciser, unless you specify the memx command with the s flag. You can
also invoke the shmx exerciser manually. The shmx command has the
following syntax:
/usr/field/shmx
[-h][-ofile][-v][-ttime][-msize][-sn]
The shmx command flags are as follows:
h
Prints the help message for the shmx command.
o
file
Saves diagnostic output in
file
.
v
Uses the fork system call instead of the vfork system call to
spawn the shmxb process.
-t
time
Specifies
time
as the run time in minutes. The default is to
run until the process is killed.
-m
size
Specifies
size
as the memory segment size, in
bytes, to be tested by the processes. The
size
value
must be greater than zero. The default is the value
of the SHMMAX and SHMSEG system parameters,
Using the System Exercise Tools F–5