Quote:
Originally Posted by bbbngowc
[...]There is a file there wmtp that was 440MB. I compressed that file and that dropped the disk usage to 40%. [...]
|
Hm.... you did look up what this file is for before compressing it, did'nt you?
[
Basic AIX administration on]
If you don't want to keep the information who logged when into your server delete that (i.e. this very) compressed wtmp file. Next time you want to reduce its size use the following commands:
Code:
# /usr/lib/acct/fwtmp < /var/adm/wtmp > /tmp/wtmp.asc
# tail -1000 /tmp/wtmp.asc > /tmp/wtmp.1000
# /usr/lib/acct/fwtmp -ci < /tmp/wtmp.1000 >/var/adm/wtmp