Changeset 1660 for zzuf/trunk/doc


Ignore:
Timestamp:
Jan 13, 2007, 11:50:38 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Implemented -D/--delay to avoid fork bombs.
File:
1 edited

Legend:

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

    r1658 r1660  
    55\fBzzuf\fR [\fB\-cdiMnqSx\fR] [\fB\-r\fR \fIratio\fR] [\fB\-s\fR \fIseed\fR|\fB\-s\fR \fIstart:stop\fR]
    66.br
    7                  [\fB\-F\fR \fIforks\fR] [\fB\-C\fR \fIcrashes\fR] [\fB\-B\fR \fIbytes\fR] [\fB\-T\fR \fIseconds\fR]
    8 .br
    9                  [\fB\-M\fR \fImegabytes\fR] [\fB\-P\fR \fIprotect\fR] [\fB\-R\fR \fIrefuse\fR]
     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]
    1010.br
    1111                 [\fB\-I\fR \fIinclude\fR] [\fB\-E\fR \fIexclude\fR] [\fIPROGRAM\fR [\fB\-\-\fR] [\fIARGS\fR]...]
     
    7070Activate the display of debug messages.
    7171.TP
     72\fB\-D\fR, \fB\-\-delay\fR=\fIdelay\fR
     73Do not launch more than one process every \fIdelay\fR seconds. This option
     74should be used together with \fB\-F\fR to avoid fork bombs.
     75.TP
    7276\fB\-E\fR, \fB\-\-exclude\fR=\fIregex\fR
    7377Do not fuzz files whose name matches the \fIregex\fR regular expression. This
     
    8387
    8488This option is only relevant if the \fB\-s\fR flag is used with an interval
    85 argument.
     89argument. See also the \fB\-D\fR flag.
    8690.TP
    8791\fB\-i\fR, \fB\-\-stdin\fR
     
    242246Fuzz 2% of \fBMPlayer\fR's input bits (\fB\-r\ 0.02\fR) with seeds 0 to 9999
    243247(\fB\-s\ 0:10000\fR), disabling its standard output messages (\fB\-q\fR),
    244 launching up to three simultaneous child processes (\fB\-F\ 3\fR), killing
    245 \fBMPlayer\fR if it takes more than one minute to read the file (\fB\-T\ 60\fR)
    246 and disabling its \fBSIGSEGV\fR signal handler (\fB\-S\fR):
    247 .PP
    248 \fB    zzuf \-c \-r 0.02 \-q \-s 0:10000 \-F 3 \-T 60 \-S \\\fR
     248launching up to five simultaneous child processes (\fB\-F\ 5\fR) but wait at
     249least half a second between launches (\fB\-D\ 0.5\fR), killing \fBMPlayer\fR
     250if it takes more than one minute to read the file (\fB\-T\ 60\fR) and
     251disabling its \fBSIGSEGV\fR signal handler (\fB\-S\fR):
     252.PP
     253\fB    zzuf \-c \-r 0.02 \-q \-s 0:10000 \-F 5 \-D 0.5 \-T 60 \-S \\\fR
    249254\fB      mplayer \-\- \-benchmark \-vo null \-fps 1000 movie.avi\fR
    250255.SH RESTRICTIONS
Note: See TracChangeset for help on using the changeset viewer.