How to see nginx rps (requests per second)

dhaval d. lists at
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:

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

More information about the nginx mailing list