LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   http server (https://www.linuxquestions.org/questions/linux-server-73/http-server-827487/)

lamou23 08-20-2010 12:54 PM

http server
 
hello,

are there any linux command to have how many http request are sent and reveived??
thanks

frankbell 08-20-2010 07:23 PM

I am guessing you mean requests to httpd, not requests by httpd.

By default, Apache saves requests to a log file that stores every request to httpd. And I do mean every. One hit to a page can generate multiple lines in the log file as images and links load.

In a LAMPP installation, it's in /opt/lampp/logs/access_log. I can't remember where it is in a standard installation, but a "whereis access_log" as root should turn it up.

Opening that file in an editor will may give you what you want.

lamou23 08-21-2010 08:30 AM

hello,

thank you for the answer.

How can I have information about How many machines reach my Web server?

toothandnail 08-22-2010 06:09 AM

Quote:

Originally Posted by lamou23 (Post 4073272)
hello,

thank you for the answer.

How can I have information about How many machines reach my Web server?

Installing something like Awstats will give you good reports of usage:

http://awstats.sourceforge.net/

Paul.

lamou23 08-22-2010 06:44 AM

I am creating an application exactly.
What I want is to collect this information about http server. it is for that I look for answers.
I know that exists application which answer my need.


All times are GMT -5. The time now is 09:34 PM.