Welcome! Log In Create A New Profile

Advanced

Re: How to see nginx rps (requests per second)

Brian Akins
January 06, 2012 09:06AM
On Jan 5, 2012, at 9:12 AM, atrus wrote:
>
> Is there any other ways to do this automatically instead of manually
> subtract ?! I want to see in live.

we have some command line ruby/perl scripts that do this, pretty simple. If you wanted to do this "in" nginx, I guess the easiest way would be using Lua that did a location_capture of stub_status and cached the value ( using http://wiki.nginx.org/HttpLuaModule#ngx.shared.DICT maybe).

Or, have a script that polls nginx stub status every x seconds and writes it out to a static file that nginx can serve.

I'd rather nginx just provide the raw data and I can slice and dice it for my own needs.

--Brian

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to see nginx rps (requests per second)

atrus January 05, 2012 05:01AM

Re: How to see nginx rps (requests per second)

smallfish January 05, 2012 05:04AM

Re: How to see nginx rps (requests per second)

Yogui January 05, 2012 05:41AM

Re: How to see nginx rps (requests per second)

atrus January 05, 2012 09:12AM

Re: How to see nginx rps (requests per second)

Brian Akins January 06, 2012 09:06AM

Re: How to see nginx rps (requests per second)

AndriesLouw January 07, 2012 08:55AM

Re: How to see nginx rps (requests per second)

Yogui January 07, 2012 09:35AM

Re: How to see nginx rps (requests per second)

dhaval d. January 07, 2012 01:20PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 125
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready