[PLUG] Huge lastlog

Randal L. Schwartz merlyn at stonehenge.com
Tue Oct 21 19:36:02 UTC 2003


>>>>> "Joshua" == Joshua Keroes <jkeroes at eli.net> writes:

Joshua> Why does /var/log/lastlog take up 18MB when there are only ~30 entries
Joshua> in last(1)'s output?

I belive it's a sparse file.  Check "du" on it, instead of looking
at the address of the last byte with "ls -l".

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!



More information about the PLUG mailing list