Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

RE: lug-bg: tail -f | grep ... | cut ... | awk ...


  • Subject: RE: lug-bg: tail -f | grep ... | cut ... | awk ...
  • From: bkrosnov@xxxxxxxx (Boyan Krosnov)
  • Date: Thu, 31 Jan 2002 14:36:00 +0200



taka kato gledam problema ti e che pipe-owete chakat da se natrupa data
predi da puskat sledwashtiq proces i da mu dawat data-ta.
ne znam kak w bash mojesh da promenqsh pipe size-a .
w perl mojesh da naprawish
 $oldfh = select(STDOUT); $| = 1; select($oldfh);
 ili po-prosto, ako ne si si selectwal drug descriptor: $| = 1;
taka prawish izhodqshtiq pipe size da e 1. t.e. w momenta w kojto
zapishesh neshto na stdout procesa kojto go chete ot teb shte byde
resume-nat za da go prochete.
ne znam da ima nachin da ubedish tail obache da pishe nebuferirano :)

BR,
Boyan

> -----Original Message-----
> From: Vesselin Kolev [mailto:vlk@xxxxxxxxxxxxxxxxx]
> Sent: Thursday, January 31, 2002 1:10 PM
> To: lug-bg@xxxxxxxxxxxxxxxxxx
> Subject: Re: lug-bg: tail -f | grep ... | cut ... | awk ...
> 
> 
> Dobre, blagodaria za infoto.. No defakto mi e nuzhno da ia podkaram
> s Prelude tazi rabota... Vsasnost ne zavisi samo ot men.. No ot druga
> strana ako se reshi tozi problem mozhe mnogo hora da pocherpiat ot
> opita... Ot takava gledna tochka e interesno da se reshi tozi problem
> s predavaneto na potoci.
> 
>   Pozdravi
>      Vesselin
> 
> 
> On Thursday 31 January 2002 12:40, you wrote:
> > On Thu, 31 Jan 2002 12:34:40 +0200
> >
> > Boris Jordanov wrote:
> > > Zasto prosto ne si pusnesh Snort+Guardian?
> >
> > Samopopravjam se, auto blocking ne e dobro reshenie, 
> predrazpolaga kum DoS
> > ataki. Vsushtnost gornia variant ti vurshi tochno tova 
> koeto iskash, no
> > dali e dobur podhod?!? Ako iskash samo da spresh CodeRed 
> scaneri hvurli
> > edno oko na LaBrea (sorry, ne pomnja URL).
> >
> >
> > 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.
> ==============================================================
> =============
> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
> http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. 
> - Stara Zagora
> 
> 
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.