Ascend Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (ASCEND) Hangups... Anyone have this script:



> Howdy
> 
> A while back, I saw a script on (I think) this list, which went through
> radius logs and reported the frequency of C and P numbers, sort of like this:
> 
> C 45  94%
> C 48   3%
> C 185  3%
> 
> P 65  73%

Well, I don't have this script, but it's easy to throw something together
that should work...

fgrep "Ascend-Disconnect-Cause" detail | awk '{ print $3 }' | sort | uniq -c | sort -rn

Doesn't give percentages, but hey, it's a one liner :-)

-Phil
++ Ascend Users Mailing List ++
To unsubscribe:	send unsubscribe to ascend-users-request@bungi.com
To get FAQ'd:	<http://www.nealis.net/ascend/faq>


Follow-Ups: References: