Get ftp://ftp.livingston.com/pub/le/radius/scripts/raport which gives
you number of connections and length of time each port's been connected,
based on the RADIUS accounting detail logs. A modest change to the PERL
script would give you average connection length. :-)
There are a couple of other scripts there too; they should work with both
RADIUS 1.16 and RADIUS 2.0. We plan to make other scripts available too,
as time permits.
Someone else asked for the ability to extract just the records for a given
date; here's a general-purpose utility called pgrep (paragraph grep) that
I use.
#!/usr/local/bin/perl
$/ = ''; $pat=shift(@ARGV); while (<>) { print if /$pat/i; }
Use it like this:
pgrep 'Oct 18' /var/adm/radacct/pm1/detail
-- Carl Rigney cdr@livingston.com