summaryrefslogtreecommitdiffstats
path: root/etc/monthly
blob: 142250e99ef061a00c92d840dbcf3cdff8224e9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh -
#
#	@(#)monthly	5.5 (Berkeley) 6/17/91
#

PATH=/bin:/usr/bin:/sbin:/usr/sbin
host=`hostname -s`
echo "Subject: $host monthly run output"

echo ""
echo "Doing login accounting:"
ac -p | sort -nr +1

if [ -f /etc/monthly.local ]; then
    echo ""
    echo "Running monthly.local:"
    sh /etc/monthly.local
fi
OpenPOWER on IntegriCloud