* S: trimming of binary.errlog
@ 1996-08-30 4:00 Hendrik Roepcke
1996-08-30 4:00 ` Brian Martin
0 siblings, 1 reply; 2+ messages in thread
From: Hendrik Roepcke @ 1996-08-30 4:00 UTC (permalink / raw)
Hello,
i see this binary.errlog growing... but how to
trim it without disturbing uerf in analysing it?
Hendrik
--
Panther in the Jungle __..--''``\--....___ _..,_
-BELIEVE AND DECEIVE- _.-' .-/"; ` ``<._ ``-+'~=.
http://www.ang-physik _.-' _..--.'_ \ `(^) )
.uni-kiel.de/~hendrik ((..-' (< _ ;_..__ ; `'
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: S: trimming of binary.errlog
1996-08-30 4:00 S: trimming of binary.errlog Hendrik Roepcke
@ 1996-08-30 4:00 ` Brian Martin
0 siblings, 0 replies; 2+ messages in thread
From: Brian Martin @ 1996-08-30 4:00 UTC (permalink / raw)
Hendrik Roepcke wrote:
> i see this binary.errlog growing... but how to
> trim it without disturbing uerf in analysing it?
This is what I've got set up. Works fine, and you
can modify it to track stuff for as long as you want.
Set it up in cron to run every night. There should
already be a syslog entry in there. Put this one
after that one.
crontab: 45 2 * * * /Scripts/binlog.trim
File:
# binlog.trim - trim the binlog entries
cp /usr/adm/binary.errlog /usr/adm/binary.errlog.yesterday
rm /usr/adm/binary.errlog
touch /usr/adm/binary.errlog
# restart the system
kill -HUP `cat /var/run/binlogd.pid`
Note: this is on an OSF system
bmartin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1996-08-30 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-08-30 4:00 S: trimming of binary.errlog Hendrik Roepcke
1996-08-30 4:00 ` Brian Martin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox