% last
# This example keeps only last 500 records. You might want more on a busy system
% /usr/lib/acct/fwtmp < /var/adm/wtmpx | tail -500 | /usr/lib/acct/fwtmp -ic > /tmp/wtmpx
# Test it
% last -f /tmp/wtmpx
% cat /tmp/wtmpx > /var/adm/wtmpx
Friday, February 29, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment