On 23/11/06, Matthew Hannigan <[EMAIL PROTECTED]> wrote:
On Thu, Nov 23, 2006 at 05:10:14PM +1100, Penedo wrote:
> On 23/11/06, Matthew Hannigan <[EMAIL PROTECTED]> wrote:
> >You don't get the output in as timely a fashion;
> >it comes with spurts as the buffer is filled up
> >then written out.
>
On 23/11/06, Michael Chesterton <[EMAIL PROTECTED]> wrote:
I guess grep is detecting whether it's talking to a terminal, and doesn't
buffer if it is (or probably line buffers).
There is no need to guess here - it's standard stdio behaviour (from stdio(3)):
When opened, the standard error strea
On 23/11/2006, at 7:19 PM, Erik de Castro Lopo wrote:
Michael Chesterton wrote:
I guess grep is detecting whether it's talking to a terminal, and
doesn't
buffer if it is (or probably line buffers).
If you are using
whatever | grep one | grep two
the first grep will detect that i
Michael Chesterton wrote:
> I guess grep is detecting whether it's talking to a terminal, and doesn't
> buffer if it is (or probably line buffers).
If you are using
whatever | grep one | grep two
the first grep will detect that it is reading from a pipe and
writing to a pipe and will b
Matthew Hannigan <[EMAIL PROTECTED]> writes:
> Weird.
>
> With --line-buffered on the first grep I get it continuous.
> If only the second grep is --line-buffered, then it goes spurty again.
> That points to the first grep buffering by default, to me.
I guess grep is detecting whether it's talkin
On Thu, Nov 23, 2006 at 05:10:14PM +1100, Penedo wrote:
> On 23/11/06, Matthew Hannigan <[EMAIL PROTECTED]> wrote:
> >You don't get the output in as timely a fashion;
> >it comes with spurts as the buffer is filled up
> >then written out.
>
> What buffer? tail's manual doesn't mention anything abo
On 23/11/06, Matthew Hannigan <[EMAIL PROTECTED]> wrote:
You don't get the output in as timely a fashion;
it comes with spurts as the buffer is filled up
then written out.
What buffer? tail's manual doesn't mention anything about buffers but
my experience is that you get individual lines even t
On Thu, Nov 23, 2006 at 03:28:24PM +1100, Zhasper wrote:
> On 11/23/06, Matthew Hannigan <[EMAIL PROTECTED]> wrote:
> >On Thu, Nov 23, 2006 at 01:30:50PM +1100, Penedo wrote:
> >> On 23/11/06, Matthew Hannigan <[EMAIL PROTECTED]> wrote:
> >> >On Thu, Nov 23, 2006 at 08:23:37AM +1100, Penedo wrote:
On 11/23/06, Matthew Hannigan <[EMAIL PROTECTED]> wrote:
On Thu, Nov 23, 2006 at 01:30:50PM +1100, Penedo wrote:
> On 23/11/06, Matthew Hannigan <[EMAIL PROTECTED]> wrote:
> >On Thu, Nov 23, 2006 at 08:23:37AM +1100, Penedo wrote:
> >> On 23/11/06, Howard Lowndes <[EMAIL PROTECTED]> wrote:
> >> >
On Thu, Nov 23, 2006 at 01:30:50PM +1100, Penedo wrote:
> On 23/11/06, Matthew Hannigan <[EMAIL PROTECTED]> wrote:
> >On Thu, Nov 23, 2006 at 08:23:37AM +1100, Penedo wrote:
> >> On 23/11/06, Howard Lowndes <[EMAIL PROTECTED]> wrote:
> >> >I want to tail -f the syslog file but I only want to see wh
On 23/11/06, Daniel Bush <[EMAIL PROTECTED]> wrote:
Not sure about the 'less -F'. In my version '-F' is different to 'F'
Sorry, I meant "+F" (i.e. treat the "F" as if the user typed it
interactively while "inside" less, another useful command is "+G").
- the latter being pressed after less i
On 23/11/06, Penedo <[EMAIL PROTECTED]> wrote:
On 23/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> tail -f /var/log/syslog |grep something |grep -v but-not-this |less
Make it "| less -F +/re-to-highlight" so you can always ^C to scroll
back through the output then type "F" again to get b
On 23/11/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
tail -f /var/log/syslog |grep something |grep -v but-not-this |less
Make it "| less -F +/re-to-highlight" so you can always ^C to scroll
back through the output then type "F" again to get back to the bottom
and tail from there.
A wry
On Thursday 23 November 2006 10:33, [EMAIL PROTECTED] wrote:
> > On Thu, Nov 23, 2006 at 08:23:37AM +1100, Penedo wrote:
> > > On 23/11/06, Howard Lowndes <[EMAIL PROTECTED]> wrote:
> > > >I want to tail -f the syslog file but I only want to see what I want
> > > > to see and I don't want to see wh
On 11/23/06, Matthew Hannigan <[EMAIL PROTECTED]> wrote:
On Thu, Nov 23, 2006 at 08:23:37AM +1100, Penedo wrote:
> On 23/11/06, Howard Lowndes <[EMAIL PROTECTED]> wrote:
> >I want to tail -f the syslog file but I only want to see what I want to
> >see and I don't want to see what I don't what to
On 23/11/06, Matthew Hannigan <[EMAIL PROTECTED]> wrote:
On Thu, Nov 23, 2006 at 08:23:37AM +1100, Penedo wrote:
> On 23/11/06, Howard Lowndes <[EMAIL PROTECTED]> wrote:
> >I want to tail -f the syslog file but I only want to see what I want to
> >see and I don't want to see what I don't what to
On 23/11/06, Craig Dibble <[EMAIL PROTECTED]> wrote:
Matthew Hannigan wrote:
> On Thu, Nov 23, 2006 at 08:23:37AM +1100, Penedo wrote:
>> What's wrong with "tail -f syslog | grep ..."?
>
> Buffering
>
more or less
less is better than more
--
SLUG - Sydney Linux User's Group Mailing List - ht
Matthew Hannigan wrote:
On Thu, Nov 23, 2006 at 08:23:37AM +1100, Penedo wrote:
What's wrong with "tail -f syslog | grep ..."?
Buffering
more or less
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.ht
On Thu, Nov 23, 2006 at 08:23:37AM +1100, Penedo wrote:
> On 23/11/06, Howard Lowndes <[EMAIL PROTECTED]> wrote:
> >I want to tail -f the syslog file but I only want to see what I want to
> >see and I don't want to see what I don't what to see. The idea is to
> >tail follow through a filter. Is t
AIL PROTECTED] On
Behalf Of Penedo
Sent: Thursday, 23 November 2006 8:24 AM
To: SLUG
Subject: Re: [SLUG] tailing, following and filtering
On 23/11/06, Howard Lowndes <[EMAIL PROTECTED]> wrote:
> I want to tail -f the syslog file but I only want to see what I want
> to see and I don
On 23/11/06, Howard Lowndes <[EMAIL PROTECTED]> wrote:
I want to tail -f the syslog file but I only want to see what I want to
see and I don't want to see what I don't what to see. The idea is to
tail follow through a filter. Is that possible.
What's wrong with "tail -f syslog | grep ..."?
-
21 matches
Mail list logo