supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Vincent Danen <vdanen@linsec.ca>
Cc: supervision@list.skarnet.org
Subject: Re: monitoring svlogd-produced logfiles
Date: Thu, 15 Jun 2006 10:32:28 -0600	[thread overview]
Message-ID: <20060615163228.GF898@annvix.org> (raw)
In-Reply-To: <20060615033204.GU898@annvix.org>

[-- Attachment #1: Type: text/plain, Size: 1249 bytes --]

* Vincent Danen <vdanen@linsec.ca> [2006-06-14 21:32:04 -0600]:

> > > BTW, I think I sent the response on the "tail -F" thing to you and not
> > > the list... to summ, I did try "-n 0 -F" and it didn't follow.  Could be
> > > a swatch thing tho... I'll have to try it again and see if it still
> > > doesn't work.  If it doesn't, I still need to find an alternative to it,
> > > so any suggestions are welcome.
> > 
> > Yep. To summ my reply :) I suggest using script-wrapper around tail to
> > a) force needed params for tail
> > b) debug which param swatch try to use when running tail (without hard
> > things like strace)
> 
> Well, I can see what swatch is doing just by executing ps... I can see
> that it calls it with the right args.  I'll see tomorrow if it picks up
> the new ./current file after it rotates (about another 300k left before
> it rotates).

well, using "tail -n 0 -F" seems to work.  So it must have been the
other option "--max-unchanged-stats=3" that was causing grief.

Thanks again for the mental kicks.

-- 
{FEE30AD4 : 7F6C A60C 06C2 4811 FA1C  A2BC 2EBC 5E32 FEE3 0AD4}
mysql> SELECT * FROM users WHERE clue > 0;
Empty set (0.00sec)
:: Annvix - Secure Linux Server: http://annvix.org/ ::

[-- Attachment #2: Type: application/pgp-signature, Size: 186 bytes --]

      reply	other threads:[~2006-06-15 16:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-14 23:35 Vincent Danen
2006-06-14 23:40 ` Alex Efros
2006-06-16 11:03   ` George Georgalis
2006-06-16 11:08     ` Alex Efros
2006-06-16 13:18       ` George Georgalis
2006-06-16 19:08         ` Vincent Danen
2006-06-18  2:48           ` George Georgalis
2006-06-18  2:57             ` Alex Efros
2006-06-14 23:59 ` Alex Efros
2006-06-15  0:10   ` Vincent Danen
2006-06-15  0:25     ` Alex Efros
2006-06-15  3:32       ` Vincent Danen
2006-06-15 16:32         ` Vincent Danen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060615163228.GF898@annvix.org \
    --to=vdanen@linsec.ca \
    --cc=supervision@list.skarnet.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).