A program to generate a file of random data
generate_randfile [ -s seed] [ -f file] count
Produces a file comprised of random integers in network-byte-order from the rand(3) library call.
-s
the seed to use to create the random numbers.
-f
the file to create for writing the output (default is to use standard output).
count
the number of integers to write.
These programs were written by Russell Coker <[email protected]>. May be freely used and distributed without restriction.
The source is available from http://www.coker.com.au/bonnie++ .
See http://etbe.coker.com.au/category/benchmark for further information.