checking user connect time

Ivan Kalik tnt at kalik.net
Mon Nov 2 12:36:03 CET 2009


> Can you let me know where can we check the time for which a particular
> user is connected, basically this is required so that we can advice the
> customer if his ISDN line is connected for too long.

SELECT (now() - AcctStartTime) FROM radacct WHERE UserName='some_user' AND
AcctStopTime IS NULL

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list