Results 1 to 2 of 2

Thread: App to monitor network usage from web server

  1. #1
    Join Date
    Mar 2012

    App to monitor network usage from web server


    I've got a web server running at home on an Ubuntu box, and it works well.

    What I want to do though is monitor how much data is being used by web traffic. Is there a good app, command line that will write to a log file, that will monitor data on port 80?

    Cheers guys.

  2. #2
    Join Date
    Mar 2008

    Re: App to monitor network usage from web server


    There are a few ways to do this.

    1) Since you most likley have Apache running on Port 80 and no other process can bind to it, you could use AWSTATS or some other such log analysis tool to scan your log files in /var/log/apache/* and calculate your data usage each day.

    2) You could use some deep packet inspection tool to listen in on the interface via libpcap like Wireshark would and count the data transfered. The best tool for this I've come accross is called 'ntop' it gives you a web interface running on port 3000 and will let you see this data in real time:
    You can get ntop with 'apt-get install ntop'

    Hope this is of some help!

    Kind Regards,

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts