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
> 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:
>>
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.
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
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
5 matches
Mail list logo