Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am doing some little stress tests on my Nginx server.

I was wondering if there is a way to get some Nginx live status like how many users are connected, and so on ... ?

Thanks for your help guys.

Cheers, Julien

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Nginx has a module for retrieving certain statistics, I haven't used it myself but it appears to be what you're searching for.

HttpStubStatusModule

share|improve this answer
    
Tank you very much –  Julien P. Oct 28 '10 at 8:08

I use StubStatusModule with the following configuration:


location /nginx_status {
                stub_status on;
                access_log   off;
                allow xxx.xxx.xxx.xxx;
                deny all;
        }

share|improve this answer
    
Thank you but unfortunately I can't accept 2 answers ... –  Julien P. Oct 28 '10 at 8:08
    
No problem. We are all here to help, not for the Karma :) –  Ross Oct 28 '10 at 10:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.