I think there is no such direct command that will calculate CPS for you,
However there are certainly ways you can calculate this CPS (One example
given by Aqs) but since you are crunching maximum CPS from opensips i would
recommend that you dont use opensips for its calculation, reason being that
you will have to invoke extra modules and functions to achieve the task
hence increasing complexity to your configuration.

Having said that i would recommend that you simply put a log for every
incoming invite and offload the TPS calculation to some external script
e.g. *#grep -c "Apr  7 14:" *this will give you total logs in one hour and
you divide it by 3600 gives you average CPS per hour. You can set the
resolution to your requirement.

I know this seems a bit dumb solution but then again i guess 'it aint
stupid if it works' :), and you can always come up with some fancy way of
doing the same thing.

Regards,
Qasim

On Thu, Apr 6, 2017 at 2:06 AM, deizeppe <[email protected]> wrote:

> Hi, is there any command that shows the value of CPS?
>
> Thanks in advance
>
>
>
> --
> View this message in context: http://opensips-open-sip-
> server.1449251.n2.nabble.com/opensips-performance-tp7605389p7606871.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to