summaryrefslogtreecommitdiffstats
path: root/etc/periodic/monthly/200.accounting
blob: fff47bfbfc83bfc279d1bd206ecc2fc964c561cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/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
OpenPOWER on IntegriCloud