Re: grep with actual date ?
How about having some perl-program sitting on your syslog-file doing something about refused connects in near-real-time? I have such running, so if anybody wants the (ugly!) code, just yell ;-)
Or you could quick&dirty just rotate your syslog-file daily...
hth,
&rw
On Tue, 16 May 2000 13:41:00 BST, "Oliver Schoenknecht" writes:
>Hi there,
>
>I am planning to do a daily system check with refused connects by
>placing them in a cron job. So far, so good. But - and that's the
>problem - does anyone know how to tell the "grep"-command to
>filter just the refused connects of today and not all those which are
>two weeks old ? This should happen each day frequently so any
>help would be appreciated very well...
>
>Thanks in advance,
>
>Oliver
--
/ Robert Waldner <Waldner@KPNQwest.at> | Phone: +43 1 89933 0 Fax x533 \
\ KPNQwest/AT tech staff | Diefenbachg. 35 A-1150 Wien /
Reply to: