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 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: > >> > >> %radius_dir%/bin/radwho | grep "" -c > > > > Or: > %radius_dir%/bin/radwho | wc -l > > :) > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html