User guide

exer
7.
>>> set myd 0
>>> exer -bs 1 -bc a -l a -a ’w’ -d1 ’myd myd ~ =’ foo
>>> clear myd
>>> hd foo -l a
00000000 ff 00 ff 00 ff 00 ff 00 ff 00 ..........
Use an environment variable myd as a counter. Write 10 bytes of the pattern
ff 00 ff 00... to RAM disk file
foo
. A packet size of 10 bytes is used. Because
the length specified is also 10 bytes, only one write occurs. Delete the
environment variable myd.
The hd, hexadecimal dump of
foo
shows the contents of
foo
after the exer
command is run.
8.
>>> set myd 0
>>> exer -bs 1 -bc a -l a -a ’w’ -d1 ’myd myd 1 + =’ foo
>>> hd foo -l a
00000000 01 02 03 04 05 06 07 08 09 0a ..........
Write a pattern of 01 02 03 . . . 0a to file
foo
.
9.
>>> set myd 0
>>> exer -bs 1 -bc 4 -l a -a ’w’ -d1 ’myd myd 1 + =’ foo -m
foo exer completed
packet IOs elapsed idle
size IOs bytes read bytes written /sec bytes/sec seconds secs
4 3 0 10 3001 10001 0 0
>>> hd foo
00000000 01 02 03 04 01 02 03 04 01 02 ..........
>>> show myd
myd 4
10.
>>> echo ’0123456789abcdefghijklmnopqrstAB’ -n > foo3
>>> exer -bs 1 -v -m foo3
b2lkfmp8jatsnA1gri54B69o3qdc7eh0foo3 exer completed
packet IOs elapsed idle
size IOs bytes read bytes written /sec bytes/sec seconds secs
1 32 32 0 5333 5333 0 0
Console Commands 13–47