summaryrefslogtreecommitdiffstats
path: root/etc/periodic/monthly/200.accounting
blob: 8cd532f2655feef636df9853c0e7505e7ee51d42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -
#
# $Id: 200.accounting,v 1.2 1998/02/09 11:36:43 danny Exp $
#

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