---
name: "generate_randfile"
section: "1"
platform: "linux"
package: "bonnie++"
version: "2.00a-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/generate_randfile"
---

# generate\_randfile(1)

a program to generate a file of random data

## NAME

**generate\_randfile** - a program to generate a file of random data

## SYNOPSIS

**generate\_randfile** \[ **-s** seed\] \[ **-f** file\] **count**

## DESCRIPTION

Produces a file comprised of random integers in network-byte-order from the [rand(3)](/rand/3.md) library call.

## OPTIONS

- **-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.

## SEE ALSO

[**rand**(3)](/rand/3.md)

## AUTHOR

These programs were written by Russell Coker \<russell@coker.com.au\>. May be freely used and distributed without restriction.

## AVAILABILITY

The source is available from http://www.coker.com.au/bonnie++ .

See http://etbe.coker.com.au/category/benchmark for further information.
