Getting the number of currently tracked requests

Alan DeKok aland at deployingradius.com
Wed Mar 5 11:56:05 CET 2014


Louis Munro wrote:
> On 2014-03-03, at 11:11 , Alan DeKok <aland at deployingradius.com
> I was wondering if something like the following might work.
> 
> (gdb) call fr_packet_list_num_elements(pl) 

  Yes, but it would be a very bad idea.  Going to the gdb command-line
will stop the server entirely.  You're MUCH better off patching the
server to make the stats available via radmin.

> I could stick it into a file and call gdb in batch mode. 
> But I am a gdb novice and I am wary of any side-effects, especially
> regarding performance. 

  It will kill performance.

  Alan DeKok.


More information about the Freeradius-Users mailing list