Re: [EXIM] piping gzipped log file through eximstats

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Nigel Metheringham
Datum:  
To: Richard Bemrose
CC: EXIM users
Betreff: Re: [EXIM] piping gzipped log file through eximstats

rb237@??? said:
} The subject line just about says it all. It would be convenient for
} eximstats to be able to read the exim log file via stdin:

} Has anybody achieved this?

    gzip -dc exim_mainlog.02.gz | eximstats


works fine!
[This is pretty much standard for perl scripts which just take a list of
filenames off the command line and use stdin if none are supplied]

    Nigel.
-- 
[ Nigel.Metheringham@???   -  Systems Software Engineer ]
[ Tel : +44 113 207 6112                   Fax : +44 113 234 6065 ]
[      Real life is but a pale imitation of a Dilbert strip       ]




--
*** Exim information can be found at http://www.exim.org/ ***