Re: Tool to cut down utmp(x) / wtmp(x) >>>>> Very <thecaspers@yahoo.com> writes:
> Thanks. It works. How to truncate the record base on number of
> days instead of number of records ?
If you carefully look at the output of fwtmp you'll find it contains
the timestamp in seconds-since-epoch format in columns 51-60, so you
can filter on that.
--
Stefan Jankowski
Sysadmin, University of Freiburg, CS Dpt.
s/spambucket//
s/dave\.null/${FORENAME}.${LASTNAME}/ |