|
Re: lug-bg: tail -f | grep ... | cut ... | awk ...
- Subject: Re: lug-bg: tail -f | grep ... | cut ... | awk ...
- From: borj@xxxxxxxxx (Boris Jordanov)
- Date: Fri, 1 Feb 2002 09:40:11 +0200
On Thu, 31 Jan 2002 18:54:32 +0200
Vesselin Kolev wrote:
>
> Tova idva na vednazh! T.e. nuzhno e da se otdeli ot vsiako novo
> dobaviane
> reda zapocvasht s Ip hdr. Tazi programka na Perl shte mozhe da otdeli IP
> adresa, samo ako i se podade saotvetnia red. Sega se opitah. Ako e samo
> s
> redove, niama problemi, no ako ne e ... losho
>
Ami _eto_go_ reda:
> Ip hdr : 62.158.170.2 -> 62.44.103.64
Vupros na edin IF, vlozi malko trud i prosto preskachaj redovete
nezapochvashti s 'Ip hdr'. Puk ako ne ti se pishe PERL: tail -f
/var/log/messages|grep "Ip hdr"|prelude.pl
Take care
Boris Jordanov (borj) <borj@xxxxxxxxx>
ICQ 10751645
PGP-key-fingerprint:------------------------------
CB23 8B52 5FBC F36A 1B61 F1ED 2831 E52D AAFF 7B08
--------------------------------------------------
Public-key:---------------------------------------
http://borj.freeshell.org/borj.asc
--------------------------------------------------
To err is human...
to really foul up requires the root password.
<HR>
<UL>
<LI>application/pgp-signature \\\\\\\\\ \\\\: stored
</UL>
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|