This is a discussion on Re: Counting number of open sessions in RADIUS within the FreeRADIUS Users forums, part of the Networking and Network Related category; this is kinda wrong, because radwho has one extra line on top, so the output of radwho |wc -l will ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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, mmiranda@americatel.com.sv <mmiranda@americatel.com.sv> wrote: > > Quoting Sonali Karmarkar <sonali_karmarkar@yahoo.com>: > > > >> 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 ? > >> > >> freeradius-users-admin@lists.freeradius.org wrote: > >> > >> the easiest way off the top of my head would be to run: > >> > >> %radius_dir%/bin/radwho | grep "" -c > > >=20 > Or: > %radius_dir%/bin/radwho | wc -l >=20 > :) >=20 > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users= ..html > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html |