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.

Can any one help with the command to check the number of requests being served by apache web server.

I know some commands to test the load of server, like top command to check the load on server and free -m command to check the RAM memory space on server.

I have SSH access to my server.

share|improve this question
add comment

3 Answers

There is a utility called apachetop that is available for a variety of Linux distros that will monitor your logs in real time and provide this information.

You may also find that mod_status will provide the information that you want.

share|improve this answer
    
I am new to handle servers, can you guide me how to use the commands you advice to use. I tried using apachetop and mod_status but not working. can you provide me example of commands to use. thanks :) –  Jigar Savla Nov 16 '12 at 13:16
    
when i fired the command it says something like this -bash: apachetop: command not found –  Jigar Savla Nov 16 '12 at 13:19
    
@JigarSavla: which Linux distro are you using ? –  Iain Nov 16 '12 at 13:20
    
@lain- well I use amazon ec2 –  Jigar Savla Nov 17 '12 at 13:55
add comment

Iain's suggestion is good for monitoring instantaneous information. Munin will grab status information every 5 minutes and give you graphical results.

Your access logs can provide a wealth of information. Tools that summarize the data such as awstats can generate useful information.

share|improve this answer
add comment

Configure and interpret mod_status

It offers all you could need to understand your servers' performance and behaviour.

share|improve this answer
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.