| Welcome to WebmasterWorld Guest from 184.108.40.206 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|wtmp file got too big|
can I delete it?
I just noticed that there are two wtmp files (wtmp and wtmp.1) on my RH linux system. Both are hundreds MB and eat up my disk space. Can I discard them and create new ones?
Thanks in advance.
wtmp.1 is a backup archive; it's no longer being used, archive and remove it and forget about it.
wtmp should be still being written to, but can be emptied if you want. The proper way I guess is by 'echo "" > /var/log/wtmp', not removing it.
Thank you Duckula.
I will delete wtmp.1 file and empty wtmp.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved