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
This works online and wtmp history should go back about few days then only (depends on how many logins per day took place). If you want to blank it use
But better not compress it while it is in use. (And don't delete a wtmp file that is in use neither!)
[
Basic AIX administration off]
Do you happen to have a serial console connected to your server? In that case you might suffer from a wrong cable, wrong ASCII terminal or wrong tty settings. Reason then could be that an open to the /dev/tty via HW handshake is not satisfied such causing the hang when you reach Multi-User initialization completed.