[Spce-user] Counting concurrent calls on a peering

Barry Flanagan barry at flanagan.ie
Fri Apr 28 07:54:06 EDT 2017


On 28 April 2017 at 12:47, Matthias Hohl <matthias.hohl at telematica.at>
wrote:

> Hello,
>
>
>
> thanks for info…
>
>
>
> so first command is:
>
>
>
> # redis-cli -h 127.0.0.1  -n 3
>
>
>
> Then i check the peer ID with
>
>
>
> # keys peer*
>

I was simply demonstrating that the peers could all be listed here...


>
>
> And then i use the number of the number oft he peer and check the
> concurrent calls on this peer right? In my example peer:15
>
>
>
> # get peer:15
>
>
>
> The result ist he concurrent calls value.
>
>
>
>
Yep.


>
>
> So a faster way would be then:
>
>
>
> # redis-cli -h 127.0.0.1 -n 3 get peer:15
>
>
>
> And i get back the current number.
>

That is the overall concurrent calls in and out. To get just out you would
do

redis-cli -h 127.0.0.1 -n 3 get peerout:15


>
>
>
> Thats right?
>
>
Yes. Nice and easy.

-Barry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20170428/784b608c/attachment-0001.html>


More information about the Spce-user mailing list