- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] tailing, following and filtering
- From: jam@xxxxxxxxx
- Date: Thu, 23 Nov 2006 10:43:16 +0800
- User-agent: KMail/1.9.1
On Thursday 23 November 2006 10:33, slug-request@xxxxxxxxxxx wrote:
> > On Thu, Nov 23, 2006 at 08:23:37AM +1100, Penedo wrote:
> > > On 23/11/06, Howard Lowndes <lannet@xxxxxxxxxxxxx> 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 ..."?
> >
> > Buffering
>
> For the benefit of those of us without your vast intellect and huge
> store of knowledge, would you mind expanding on this?
This was an amusing play with words
Buffering means there is so much stuff, how do I manage it
more or less and less is better means the program less is nicer than the
program more ie
tail -f /var/log/syslog |grep something |grep -v but-not-this |less
A wry smile.
James