This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.
Holger Hans Peter Freyther holger at freyther.deOn Fri, Jan 24, 2014 at 07:01:57PM +0400, Ivan Kluchnikov wrote: > Hi Holger, Dear Ivan, > Thank you for advice. > Can you give me example? > Which command I should use to read counters? > I can't find any documentation for these commands. Please take a look at libctrl/control_if.c and search for counter. When we were designing the control interface we really didn't want to write one command per counter. So there is a command installed for "counter *" and "rate_ctr *". This gives access to all counters by name. E.g. using the example script we wrote you can do: $ ./contrib/bsc_control.py -g counter.net.paging.expired -p 4249 -d localhost Got message: GET_REPLY 1 counter.net.paging.expired 0 What is missing from the control interface is for a command to describe itself. Maybe you have the time to implement this feature? The output could be similar to the XML generated by the VTY. A command could have an additional function to describe itself, the parameters and such. holger