5 Mar
2014
5 Mar
'14
5:56 a.m.
Louis Munro wrote:
On 2014-03-03, at 11:11 , Alan DeKok <aland@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.