From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,6705f4bf6f3c910a X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-09-18 00:15:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!newspeer.clara.net!news.clara.net!server3.netnews.ja.net!jura.cc.ic.ac.uk!anahata.ma.ic.ac.uk!andy From: andy thomas Newsgroups: comp.unix.tru64 Subject: Re: Reducing The size of /var/adm/messages file Date: Wed, 18 Sep 2002 08:13:55 +0100 Organization: Imperial College, London, UK Message-ID: References: <%xwh9.9789$yt3.4718644@newssrv26.news.prodigy.com> <9MEh9.5400$Se2.1347@nwrddc01.gnilink.net> Reply-To: andy.thomas@ic.ac.uk NNTP-Posting-Host: anahata.ma.ic.ac.uk Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: jura.cc.ic.ac.uk 1032333236 21261 155.198.192.57 (18 Sep 2002 07:13:56 GMT) X-Complaints-To: usenet@jura.cc.ic.ac.uk NNTP-Posting-Date: 18 Sep 2002 07:13:56 GMT X-X-Sender: andy@anahata.ma.ic.ac.uk In-Reply-To: <9MEh9.5400$Se2.1347@nwrddc01.gnilink.net> Xref: archiver1.google.com comp.unix.tru64:8673 On Tue, 17 Sep 2002, Nico Kadel-Garcia wrote: > > "DS Group" 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