freebsd-nq/etc/periodic/monthly/200.accounting
1999-08-27 23:37:10 +00:00

15 lines
183 B
Bash
Executable File

#!/bin/sh -
#
# $FreeBSD$
#
W=/var/log/wtmp
if [ -f ${W}.0 ] ; then
if [ -x /usr/sbin/ac ] ; then
echo ""
echo "Doing login accounting:"
ac -p -w ${W}.0 | sort -nr +1
fi
fi