[OpenSIPS-Devel] [opensips] opensipsctl statistics inconsistent formatting (#673)

Rik Broers notifications at github.com
Tue Oct 13 09:37:00 CEST 2015


Hi,
I parse the output from `opensipsctl fifo get_statistics`
How i do this is to split all values on the : character.
Every value looks as the following.

    pkmem:11-real_used_size:: 388768
    Module : ValueName : EMPTY: Value

And then there is this one! Which has one more : than all other values.

    load:udp:192.168.1.1:5060-load:: 0

Could you make this more consistent? I suggest picking an other delimiter than so ip:port combinations don't add to this.

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/673
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20151013/ecbb50c7/attachment.htm>


More information about the Devel mailing list