Koozali.org: home of the SME Server

See external traffic

Offline smeerbartje

  • *
  • 71
  • +0/-0
See external traffic
« on: August 03, 2008, 09:33:03 PM »
Is there a way to see how much external traffic the SME server handles? For example, I want to see how much traffic ETH0 has generated the last couple of months. Does someone have a how-to or something?
« Last Edit: August 03, 2008, 09:40:08 PM by smeerbartje »

Offline jester

  • *
  • 496
  • +1/-0
Re: See external traffic
« Reply #1 on: August 04, 2008, 09:44:03 AM »
Look in the wiki under contribs in the administration category.

HTH.

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: See external traffic
« Reply #2 on: August 04, 2008, 12:51:00 PM »
You may not be able to get stats over the last couple months.

ifconfig (at the command line) will show you the total bytes sent and received since your last reboot on all network interfaces.

Some of the tools listed on the administration page will give you some limited information:
* sarg will produce http proxy download statistics for each local computer going as far back as your squid logs (/var/log/squid/*)...
* sysmon may show average network throughput over time, and hence might be used to calculate an approximated network traffic total.