How can I monitor incoming HTTP requests to port 80? I have set up web hosting on my local machine using DynDNS and Nginx. I wanted to know how many request are made on my server every day.
Currently I'm using this command:
netstat -an | grep 80
|
How can I monitor incoming HTTP requests to port 80? I have set up web hosting on my local machine using DynDNS and Nginx. I wanted to know how many request are made on my server every day. Currently I'm using this command: netstat -an | grep 80 |
||||
|
|
|
Do you have log files turned on for your server? If you do, I'd recommend installing AwStats and running your log files with it to get accurate reporting. If you want to just monitor all incoming/outgoing traffic, you can use WireShark. |
|||
|
|
|
You may use
For a solution using http://serverfault.com/questions/84750/monitoring-http-traffic-using-tcpdump |
|||
|
|
|
You can also tail the log file:
The -f parameter will cause tail to continually update the screen as new entries are written to the log. |
|||
|
|