pppusage summarizes average and total transfer volumes, number of connections...
Version: 0.2.5pppusage summarizes average and total transfer volumes, number of connections and average and total online time for all logged PPP connections. The data is collected by reading the syslog files which contain the ppp[d] messages. A database file is used to store the relevant data, thus it doesn't get lost when your ppp[d] logfiles are rotated or deleted. Certain time ranges (that is: a year, month, or day) may be specified on the command line. pppusage should run on Linux systems with pppd(8) as well as on NetBSD, FreeBSD or OpenBSD with ppp(8) (also known as user-ppp). It's written in Perland no non-standard Perl modules are required.
Operating System: Linux
As soon as there is some connection summary data in your PPP logfile(s), you can build the pppusage database and get some statistics by simply running pppusage. If you want to build the pppusage database twice a day automatically, you could use a crontab(5) entry like the following:
05 2,14 * * * nice /usr/local/bin/pppusage -c > /dev/null
You can then query the database with -q. If you want to specify a timerange, use -t. See pppusage -h for a quick overview of the available options, see the man page pppusage(1) for detailed information.
What's New in This Release:
· fixed a bug in the new database update algorithm