Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: "PKM" <PKM@DMT.Sonofon.DK>
Subject: Re: Binary error log question
Date: 1997/06/26	[thread overview]
Message-ID: <01bc821d$75049bb0$406e10ac@pc0125> (raw)
In-Reply-To: 5os7l7$g27$1@news5.wavefront.com


Hi,

The way i do it is to move the file like 'mv binary.errlog
binary.errlog.old' and then do the kill documented in 'man binlogd' 'kill
-HUP `cat /var/run/binlogd.pid`' and a new one is created.

Per.

Daniel A. Torrey <nospam@nospam.not> wrote in article
<5os7l7$g27$1@news5.wavefront.com>...
> Can I trim the binary error log without rebooting, and still have the
> kernel write errors to it after I've trimmed it?  It's getting pretty
big,
> and I'd like to zero it out, but I'm afraid that if I just nuke it, it
> won't be recreated until the next reboot.
> 
> -daniel
> 
> *---------------------------------------------------------------------*
> | Daniel.A.Torrey.at.HealthPartners.com | I'm not in the show...I'm   |
> | HealthPartners, Inc.                  | just  friend of the script  |
> | 612.883.6485                          | writer.                     |
> *---------------------------------------------------------------------*
> 
> 
> 
> 
> 
> 
> 
> 



  reply	other threads:[~1997-06-26  4:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-25  4:00 Binary error log question Daniel A. Torrey
1997-06-26  4:00 ` PKM [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-06-25  4:00 Daniel A. Torrey
1997-06-25  4:00 Daniel A. Torrey
1997-06-25  4:00 Daniel A. Torrey
1997-06-25  4:00 Daniel A. Torrey
1997-06-25  4:00 Daniel A. Torrey
1997-06-26  4:00 ` Tim Mooney
1997-06-25  4:00 Daniel A. Torrey
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox