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 looking for a way to find who causes high load on my nginx web server but I do have too many requests per minutes to figure it out which one is the real cause.

I want a solution that would work like top but that would give me starts like

ip |  requests | average response time | total response time
---|-----------|-----------------------|--------------------

Every line looks like:

 10.80.3.169 - - [02/Nov/2012:12:15:37 +0000] "POST /pages/docreatepage.action HTTP/1.1" 302 0 "http://example.com/pages/docreate" "Mozilla..." "-" 1.074 1.074

So all I need form each line is the first part (IP) and last part (duration) and to count them and display starts every few seconds.

Is there a tool that is able do to this, or should I have to code it myself?

share|improve this question
1  
I'm glad sticking with apache let me use apachetop and mod status. –  coincoin Nov 2 '12 at 12:27
    
gltail might to the job for you. –  Ladadadada Nov 2 '12 at 12:35

1 Answer 1

Are you looking for something like ntop?

http://www.ntop.org/

share|improve this answer

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.