Section: EXIM4 (8)
eximstats [Output] [Options] mainlog1 mainlog2 ... eximstats -merge [Options] report.1.txt report.2.txt ... > weekly_report.txt
0, 1, 2, 3, 5, 10, 15, 20, 30 or 60.
Exim must have been configured to use the +deliver_time logging option for this option to work.
list is an optional list of times. Eg -show_dt1,2,4,8 will show the number of messages with delivery times under 1 second, 2 seconds, 4 seconds, 8 seconds, and over 8 seconds.
Exim must have been configured to use the +queue_time_overall logging option for this option to work.
list is an optional list of times. Eg -show_rt1,2,4,8 will show the number of messages with receipt times under 1 second, 2 seconds, 4 seconds, 8 seconds, and over 8 seconds.
-pattern 'Refused connections' '/refused connection/':
eximstats mainlog.sun > report.sun.txt eximstats mainlog.mon > report.mon.txt eximstats mainlog.tue > report.tue.txt eximstats mainlog.wed > report.web.txt eximstats mainlog.thu > report.thu.txt eximstats mainlog.fri > report.fri.txt eximstats mainlog.sat > report.sat.txt eximstats -merge report.*.txt > weekly_report.txt eximstats -merge -html report.*.txt > weekly_report.html
This requires the following modules which can be obtained from http://www.cpan.org/modules/01modules.index.html
To install these, download and unpack them, then use the normal perl installation procedure:
perl Makefile.PL make make test make installOn Debian GNU/Linux you can use
"apt-get install libgd-perl libgd-text-perl libgd-graph-perl"instead.
Eximstats parses exim mainlog and syslog files to output a statistical analysis of the messages processed. By default, a text analysis is generated, but you can request other output formats using flags. See the help (-help) to learn about how to create charts from the tables.
There is a web site at http://www.exim.org
This program does not perfectly handle messages whose received and delivered log lines are in different files, which can happen when you have multiple mail servers and a message cannot be immediately delivered. Fixing this could be tricky...
Merging of xls files is not (yet) possible. Be free to implement :)
Tutoriais de Tecnologia Web