Jason S. on Mon, 30 Aug 1999 11:24:04 -0400 (EDT)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [Plug] help! /var/log/wtmp keeps growing!


I dont quite get it I dont think. Its a binary file, so if you want to
restructure it, you may need to write your own utility. If its a 
matter of space, rotate the log and start a new one then either gzip or
delete the old one. Or have a look at the getutent man page.

J.

When I grow up, I wanna be more like me.
I had a clue. I didn't like it. I took it back and exchanged it for an
attitude.  

On Mon, 30 Aug 1999 tburba@GLCORPIS01.usvision.com wrote:

> 
> 
> 
> 
> I know I can rotate it, but is there a way to lop off the top gazillion
> entries?
> 
> My mother always said, "I've told you a gazillion times, never exaggerate!"
> 
> 
> 
> 
> jason@sn.com on 08/30/99 10:44:36 AM
> 
> Please respond to plug@lists.nothinbut.net
> 
> To:   plug@lists.nothinbut.net
> cc:   linux-list@ssc.com (bcc: Thomas A Burba/USVISION)
> Subject:  Re: [Plug] help! /var/log/wtmp keeps growing!
> 
> 
> 
> 
> Just rotate it like you would lastlog or your apache logs. Either
> add it to your logrotating script or put one together yourself.
> J.
> When I grow up, I wanna be more like me.
> I had a clue. I didn't like it. I took it back and exchanged it for an
> attitude.
> On Mon, 30 Aug 1999 tburba@GLCORPIS01.usvision.com wrote:
> >
> >
> >
> >
> > /var/log/wtmp is 27+ megs and growing! It doesn't look like the man page
> > stuff and is virtually unreadable. How do I manage it? TIA
> >
> > (p.s., if linux-list@ssc.com responders can cc me, I'd appreciate it.
> > Thanks.)
> >
> >
> >
> > _______________________________________________
> > Plug maillist  -  Plug@lists.nothinbut.net
> > http://lists.nothinbut.net/mail/listinfo/plug
> >
> 
> _______________________________________________
> Plug maillist  -  Plug@lists.nothinbut.net
> http://lists.nothinbut.net/mail/listinfo/plug
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Plug maillist  -  Plug@lists.nothinbut.net
> http://lists.nothinbut.net/mail/listinfo/plug
> 


_______________________________________________
Plug maillist  -  Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug