LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Total Network Traffic Monitor? (https://www.linuxquestions.org/questions/linux-newbie-8/total-network-traffic-monitor-4175530798/)

DonMegel 01-12-2015 01:07 PM

Total Network Traffic Monitor?
 
I am making the commitment to a linux server and am excited about all of the possibilities. One thing I was hoping for is network monitoring. My internet is not very good (DSL) and if an attached device decides to download an update it makes Netflix sputter and collapse. The problem is I have to check each device manually to see if the network drain is on my end or if it’s the ISP crapping out. This can be time consuming and frustrating.

Is there a program that can easily tell me how much information is being uploaded and downloaded onto the WWW? I fear this is going to need a router upgrade and my router won’t run DD-WRT or Tomato.

Thank you in advance

yooy 01-12-2015 02:20 PM

take a look at ntop. There may be other options as well.

sudowtf 01-12-2015 02:21 PM

18 linux utilities:
http://www.binarytides.com/linux-com...nitor-network/

Unsure how to view all your network devices -- that would likely have to come from your modem or router.

Habitual 01-12-2015 02:22 PM

http://aarvik.dk/linux-monitoring-to...m-hacker-news/

joe_2000 01-13-2015 02:35 PM

If you have a linux based router using e.g. openwrt you can see the total received and sent bytes to www in the output of ifconfig.

Another nice way to evaluate the quality of the connection you get from your isp is speedtest-cli:

http://ubuntuserverguide.com/2014/01...tu-server.html

You could put that in a cronjob and have the output mailed to you if the speed is lower than a certain threshold....

Habitual 01-13-2015 05:55 PM

Code:

vnstat
Database updated: Tue Jan 13 18:52:00 2015

  eth1 since 09/20/14

          rx:  171.93 GiB      tx:  59.02 GiB      total:  230.96 GiB

  monthly
                    rx      |    tx      |    total    |  avg. rate
    ------------------------+-------------+-------------+---------------
      Dec '14    57.80 GiB |    5.33 GiB |  63.13 GiB |  197.73 kbit/s
      Jan '15    74.47 GiB |  49.00 GiB |  123.46 GiB |  937.52 kbit/s
    ------------------------+-------------+-------------+---------------
    estimated    180.55 GiB |  118.79 GiB |  299.34 GiB |

  daily
                    rx      |    tx      |    total    |  avg. rate
    ------------------------+-------------+-------------+---------------
    yesterday    10.19 GiB |    8.69 GiB |  18.87 GiB |    1.83 Mbit/s
        today      6.43 GiB |  169.35 MiB |    6.60 GiB |  815.04 kbit/s
    ------------------------+-------------+-------------+---------------
    estimated      8.18 GiB |    214 MiB |    8.39 GiB |


DonMegel 01-14-2015 08:42 AM

I would love to use a new firmware on my router but it won't support it.

sudowtf 01-14-2015 08:54 AM

Quote:

Originally Posted by DonMegel (Post 5300790)
I would love to use a new firmware on my router but it won't support it.

what router do you have? i've had a few and my crappiest one actually had stats hidden down somewhere in the webui menu.

DonMegel 01-14-2015 09:47 AM

Its a Netgear WNR3500 v1

The v2 is supported but not the v1

sudowtf 01-14-2015 11:39 AM

Yes, your router has only very basic statistics. http://documentation.netgear.com/wnr...2.html#wp56116

You might consider finding a pingable host (maybe the isp-providers first hop) and run some ping-statistics over time. prettyping.sh (pretty ping) comes to mind, but there are plenty ping stats solutions.

DonMegel 01-14-2015 12:07 PM

Perhaps someone could recommend an inexpensive router replacement that would run a new firmware? Needs to be gigabit


All times are GMT -5. The time now is 12:01 AM.