| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor|
|wtmp file got too big|
can I delete it?
| 8:11 am on Mar 22, 2004 (gmt 0)|
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.
| 8:28 am on Mar 22, 2004 (gmt 0)|
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.
| 8:49 am on Mar 22, 2004 (gmt 0)|
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.
© Webmaster World 1996-2013 all rights reserved