Welcome to WebmasterWorld Guest from 54.158.51.150

Forum Moderators: bakedjake

Message Too Old, No Replies

wtmp file got too big

can I delete it?

     
8:11 am on Mar 22, 2004 (gmt 0)

10+ Year Member



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)

10+ Year Member



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)

10+ Year Member



Thank you Duckula.

I will delete wtmp.1 file and empty wtmp.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month