Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

You can configure the server-status module for realtime information

share|improve this answer

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

If its a Linux Apache server you can also try Apachetail which runs on a Windows desktop and parses/analyses the logs in real-time.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .