How to see nginx rps (requests per second)

dhaval d. lists at ruby-forum.com
Sat Jan 7 18:19:33 UTC 2012


atrus wrote in post #1039525:
> Hi Guys,
>
> I have enable stub module and location /status/ in nginx.conf
>
> All I see just :
>
> Active connections: 1
> server accepts handled requests
>  478077 478077 478271
> Reading: 0 Writing: 1 Waiting: 0
>
> How can I know which values is the rps of the nginx server ?
>
> Thanks guys.
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,220831,220831#msg-220831

If you are just interested in knowing Request per second and if you have 
logging enabled then I would suggest using netcat. you just need to tail 
the log file and then use the netcat to count the lines and it would 
give you the details you need. Since the tail by default updates every 1 
second you will get what you need.

-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list