Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: andy thomas <andy@ic.ac.uk>
Subject: Re: Reducing The size of /var/adm/messages file
Date: Wed, 18 Sep 2002 08:13:55 +0100	[thread overview]
Message-ID: <Pine.LNX.4.44.0209180810390.25531-100000@anahata.ma.ic.ac.uk> (raw)
In-Reply-To: <9MEh9.5400$Se2.1347@nwrddc01.gnilink.net>

On Tue, 17 Sep 2002, Nico Kadel-Garcia wrote:

>
> "DS Group" <dsgroup@sbcglobal.net> wrote in message
> news:%xwh9.9789$yt3.4718644@newssrv26.news.prodigy.com...
> > To reduce the size of the /var/adm/messages file, can I just open it with
> vi
> > and delete some of the lines it contains? Or is there another way? Thanks.
>
> You have to stop and restart the syslog process.

If you do it the way I suggested in my posting earlier, you don't need to
stop/restart syslogd. I use the same technique with syslog.log files (on
other systems, not Tru64) and also with apache log files which means
apache needn't be stopped while the logs are pruned.

Andy




      reply	other threads:[~2002-09-18  7:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-17  2:35 Reducing The size of /var/adm/messages file DS Group
2002-09-17  7:54 ` andy thomas
2002-09-17 11:56 ` Nico Kadel-Garcia
2002-09-18  7:13   ` andy thomas [this message]
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