.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "GRAPHDEFANG 1" .TH GRAPHDEFANG 1 2024-03-20 "perl v5.38.2" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Application for generating graphs from mimedefang log files. .SH SYNOPSIS .IX Header "SYNOPSIS" graphdefang.pl [options] .PP Options: \-\-help brief help message \-\-man full documentation \-\-quiet quiet output \-\-nodb do not update SummaryDB \-\-trim trim the SummaryDB \-\-nomax ignore the max date/time in SummaryDB \-\-file optional log file to parse .PP If called with no options, graphdefang.pl will parse the logfile as defined by the \f(CW$DATAFILE\fR variable. .SH OPTIONS .IX Header "OPTIONS" .IP \fB\-\-help\fR 8 .IX Item "--help" Print a brief help message and exits. .IP \fB\-\-man\fR 8 .IX Item "--man" Prints the manual page and exits. .IP \fB\-\-quiet\fR 8 .IX Item "--quiet" Do not produce status output from mimedefang.pl. .IP \fB\-\-nodb\fR 8 .IX Item "--nodb" Do not use nor update the SummaryDB, just parse the file and draw graphs from it. .IP \fB\-\-trim\fR 8 .IX Item "--trim" Trim the SummaryDB to cut out old data. It trims out: 1. hourly data older than 1.25x$NUM_HOURS_SUMMARY hours 2. daily data older than 1.25x$NUM_DAYS_SUMMARY days 3. all but top 25 sender, recipient, value1, value2, subject values for all dates prior to the current hour, day, and month.. .IP \fB\-\-nomax\fR 8 .IX Item "--nomax" Ignore the max date/time in the SummaryDB; add all lines from the parsed file to the database. .IP \fB\-\-file\fR 8 .IX Item "--file" Optional log file to parse. If this option is not set, graphdefang will use the \f(CW$DATAFILE\fR variable. .SH DESCRIPTION .IX Header "DESCRIPTION" \&\fBgraphdefang.pl\fR will read a file that contains syslog messages from mimedefang, update its internal summary database, and produce graphs as requested by the user.