On Fri, Jun 30, 2006 at 12:20:43PM -0700, Adrian A wrote:
Hi,
Hi,
I'm looking for a way to extract statistics from SER such as registrations or invites per second. I was thinking I could either log all of these to a file using xlog and then parse it, but it's not going to be pretty. Does anyone have any suggestions?
Thanks.
ngrep -Wbyline port 5060 2>&1 > stat.log &
after it you can parse the log:
grep "INVITE sip:" stat.log | wc -l grep "REGISTER sip:" stat.log | wc -l cp /dev/null stat.log sleep 60
make a script and put it to crontab (*/1)
Serusers mailing list Serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
Wbr,