[Exim] eximstats, traffic by host overrun after 2GB?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Urs Janßen
Dátum:  
Címzett: exim-users
Tárgy: [Exim] eximstats, traffic by host overrun after 2GB?
logsfiles are generated by exim 2.12, tested with eximstats comming
with 2.12 and 3.12:

zcat /var/log/exim/mainlog.07.gz | ./eximstats -nr -nt -t25
[...]
Top 25 sending hosts by message count
-------------------------------------
[...]
3453 -1837980823 (mail.huge.xx)
[...] ^^^^^^^^^^^

zcat /var/log/exim/mainlog.07.gz | awk '/H=\(mail.huge.xx\)/ {gsub("S=", X, $9); s+=$9; i+=1} END {printf ("%d %.2f MB\n", i, (s/1048576))}'
3459 2343.16 MB

I'd knew perl I'd fix it myself, but...

urs
--
"Only wimps use tape backup: _real_ men just upload their important stuff
on ftp, and let the rest of the world mirror it ;)" - Linus