supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Gerrit Pape <pape@smarden.org>
Subject: Re: clear proc log
Date: Tue, 29 Nov 2005 13:47:28 +0100	[thread overview]
Message-ID: <20051129124728.7641.qmail@d5b81a4de6596e.315fe32.mid.smarden.org> (raw)
In-Reply-To: <20051123132508.GA25346@sta.duo>

On Wed, Nov 23, 2005 at 08:25:09AM -0500, George Georgalis wrote:
> I've got some proc log I'd like to clear from the runsvdir entry in ps.
> With readproctitle, I'd make a service and run "once"
> 
> #!/bin/sh
> yes '' | head -4000 | tr '\n' .
> 
> But that is not working under runsvdir. How should I go about
> clearing the dots?  Also, any suggestions on adding the service

runsvdir only writes stderr to the readproctitle log, not stdout.
Adding `exec 1>&2` to the run script should help.

> which is barfing to the log, and making each entry longer?

I'm not sure I completely understand what you mean, any examples?

Regards, Gerrit.


  reply	other threads:[~2005-11-29 12:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-23 13:25 George Georgalis
2005-11-29 12:47 ` Gerrit Pape [this message]
2005-12-30 22:00   ` George Georgalis

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=20051129124728.7641.qmail@d5b81a4de6596e.315fe32.mid.smarden.org \
    --to=pape@smarden.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).