Changeset 1663 for zzuf/trunk/doc


Ignore:
Timestamp:
Jan 13, 2007, 8:33:48 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Added auto-increment mode. Not very handy to use yet.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/doc/zzuf.1

    r1660 r1663  
    33zzuf \- multiple purpose fuzzer
    44.SH SYNOPSIS
    5 \fBzzuf\fR [\fB\-cdiMnqSx\fR] [\fB\-r\fR \fIratio\fR] [\fB\-s\fR \fIseed\fR|\fB\-s\fR \fIstart:stop\fR]
    6 .br
    7                  [\fB\-D\fR \fIdelay\fR] [\fB\-F\fR \fIforks\fR] [\fB\-C\fR \fIcrashes\fR] [\fB\-B\fR \fIbytes\fR]
    8 .br
    9                  [\fB\-T\fR \fIseconds\fR] [\fB\-M\fR \fImegabytes\fR] [\fB\-P\fR \fIprotect\fR] [\fB\-R\fR \fIrefuse\fR]
    10 .br
    11                  [\fB\-I\fR \fIinclude\fR] [\fB\-E\fR \fIexclude\fR] [\fIPROGRAM\fR [\fB\-\-\fR] [\fIARGS\fR]...]
     5\fBzzuf\fR [\fB\-AcdiMnqSx\fR] [\fB\-r\fR \fIratio\fR] [\fB\-s\fR \fIseed\fR|\fB\-s\fR \fIstart:stop\fR]
     6.br
     7                  [\fB\-D\fR \fIdelay\fR] [\fB\-F\fR \fIforks\fR] [\fB\-C\fR \fIcrashes\fR] [\fB\-B\fR \fIbytes\fR]
     8.br
     9                  [\fB\-T\fR \fIseconds\fR] [\fB\-M\fR \fImegabytes\fR] [\fB\-P\fR \fIprotect\fR] [\fB\-R\fR \fIrefuse\fR]
     10.br
     11                  [\fB\-I\fR \fIinclude\fR] [\fB\-E\fR \fIexclude\fR] [\fIPROGRAM\fR [\fB\-\-\fR] [\fIARGS\fR]...]
    1212.br
    1313\fBzzuf \-h\fR | \fB\-\-help\fR
     
    3838\fB    zzuf < /dev/zero\fR
    3939.SH OPTIONS
     40.TP
     41\fB\-A\fR, \fB\-\-autoinc\fR
     42Increment random seed each time a new file is opened. This is only required
     43if the same application is expected to open the same file several times and
     44you want to test a different seed each time.
    4045.TP
    4146\fB\-B\fR, \fB\-\-max\-bytes\fR=\fIn\fR
     
    253258\fB    zzuf \-c \-r 0.02 \-q \-s 0:10000 \-F 5 \-D 0.5 \-T 60 \-S \\\fR
    254259\fB      mplayer \-\- \-benchmark \-vo null \-fps 1000 movie.avi\fR
     260.PP
     261Create an HTML-like file that loads 1000 times the same \fBhello.gif\fR image
     262and open it in \fBFirefox\fR in auto-increment mode (\fB\-A\fR):
     263.PP
     264\fB    awk \(aqBEGIN { for(i=0; i<1000; i++) { print \\\fR
     265\fB                   "<img src=\\"hello.gif#"i"\\">" }}\(aq > hello.html\fR
     266\fB    zzuf -A -I \(aqhello[.]gif\(aq -r 0.001 firefox hello.html\fR
    255267.SH RESTRICTIONS
    256268.PP
Note: See TracChangeset for help on using the changeset viewer.