Re: Counting number of open sessions in RADIUS

2005-05-11 Thread Florin Samareanu
this is kinda wrong, because radwho has one extra line on top, so the output of radwho |wc -l will count +1 the actual number of users :) On 5/10/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Quoting Sonali Karmarkar <[EMAIL PROTECTED]>: > > > >> Hi > >> I am using freeradius 0.9.3 with mys

RE: Counting number of open sessions in RADIUS

2005-05-10 Thread mmiranda
> Quoting Sonali Karmarkar <[EMAIL PROTECTED]>: > >> Hi >> I am using freeradius 0.9.3 with mysql on linux. >> >> What is the correct way to count number of open sessions for >> freeradius server ? >> >> [EMAIL PROTECTED] wrote: >> >> the easiest way off the top of my head would be to run: >>

Re: Counting number of open sessions in RADIUS

2005-05-10 Thread Andrey
the easiest way off the top of my head would be to run: %radius_dir%/bin/radwho | grep "" -c that will pipe all your logged-in users to grep, which will tell you how many of them there are. Andrey Quoting Sonali Karmarkar <[EMAIL PROTECTED]>: Hi I am using freeradius 0.9.3 with mysql on linux.

Re: Counting number of open sessions in RADIUS

2005-05-10 Thread Juan Manuel Garcia Carral
I have two radius as primary and secondary so I found easier to count it in the mysql database that both radius use for accounting. You can search / select for records that don't have accountstoptime inserted. Regards. J.M. Sonali Karmarkar wrote: Hi I am using freeradius 0.9.3 with mysql on li

Counting number of open sessions in RADIUS

2005-05-10 Thread Sonali Karmarkar
Hi I am using freeradius 0.9.3 with mysql on linux. What is the correct way to count number of open sessions for freeradius server ? -SK - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html