Why is wtmp so big?
Jonathan Bayer
jbayer at ispi.UUCP
Thu Nov 30 00:42:33 AEST 1989
rfarris at serene.UUCP (Rick Farris) writes:
>In my never-ending search for disk space, I have discovered
>/etc/wtmp, which is a whopping 4,184,424 bytes long. Is this normal?
Yes, if you don't shorten it periodictly
>Is this a "log" file, composed of numerous /etc/utmp entries? Can I
>truncate it by copying /etc/utmp to it? Can I delete it altogether,
>and let it recreate itself?
If you delete it then it will not be recreated. You can truncate it by
either copying /etc/utmp to it, or by copying /dev/null to it.
JB
--
Jonathan Bayer Intelligent Software Products, Inc.
(201) 245-5922 500 Oakwood Ave.
jbayer at ispi.COM Roselle Park, NJ 07204
More information about the Comp.unix.xenix
mailing list