Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I monitor Apache and get information about users who are connected to Apache? There's a server in my office. I want to know how many people in the office are connected to the it, using my web application, and what their IPs are.

EDIT:
I need to know this information in real time.

share|improve this question
    
There are a number of ways of solving this problem, but because HTTP is a stateless protocol its probably not easy. If you wrote the application, why not simply log the details to an SQL database and query that ? –  davidgo Dec 26 '13 at 5:02
add comment

2 Answers 2

You can configure the server-status module for realtime information

share|improve this answer
add comment

It sounds like you need a log analyzer.

The most commonly used one is Webalizer which examines your web server's log files, collates the data, and gives you a new set of web pages containing pretty graphs and charts of visitors and usage.

share|improve this answer
    
does it monitor realtime? –  user1400 Mar 14 '11 at 10:57
    
It parses the logs when you request it to parse the logs - be that once a day, once an hour, or repeatedly with no delay between passes. It all depends on how you set it up. –  Majenko Mar 14 '11 at 11:02
add comment

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.