Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Network Bandwidth/Traffic Monitor

  • 24-06-2011 10:28PM
    #1
    Registered Users, Registered Users 2 Posts: 24


    Anyone have a favourite network traffic monitor for linux?

    I am looking for something that can monitor in real time and something that can monitor over time and generate usage graphs etc...

    At the minute I am using iftop which seems pretty good for real time info. Im new to this so not sure how accurate it is?

    Thanks


Comments

  • Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭Khannie


    If I want a snapshot I'll either use conky or the gnome system monitor.


  • Registered Users, Registered Users 2 Posts: 24 swiri


    Khannie wrote: »
    If I want a snapshot I'll either use conky or the gnome system monitor.

    Thanks Khannie. I never really looked at the System monitor in GNOME for that info before, thanks.

    Unfortunately I am using Voyage Linux with no X windows so I need command line tools preferably.

    iftop seems to be the best for real time network resource usage.

    Now I just need something that will monitor over time and create a usage graph!


  • Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭Khannie


    swiri wrote: »
    Now I just need something that will monitor over time and create a usage graph!

    I bet you could script that handy enough. ifconfig has input / output info (almost certainly just plucked from something in /proc) (edit: or you could scrape it from iftop, though I haven't used that). You could store the information periodically and then graph it with gnuplot.


  • Registered Users, Registered Users 2 Posts: 46 fti


    Khannie wrote: »
    I bet you could script that handy enough. ifconfig has input / output info (almost certainly just plucked from something in /proc) (edit: or you could scrape it from iftop, though I haven't used that). You could store the information periodically and then graph it with gnuplot.


    I did search for the same feature a few months ago while trying to stay under my bandwidth allowance per month and it seems that no mainstream solution exists.
    I wrote a script based on netstat to record my upload/download usage on a txt file and another script to graphically display it.

    I eventually switched to unlimited bandwidth :rolleyes:


  • Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭Khannie


    fti wrote: »
    I eventually switched to unlimited bandwidth :rolleyes:

    It's the obvious solution. :D


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 46 fti


    Khannie wrote: »
    It's the obvious solution. :D
    I tried to save 5€ a month by limiting my bandwidth consumption. Which turned out to be just impossible :rolleyes:


  • Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭Khannie


    fti wrote: »
    I tried to save 5€ a month by limiting my bandwidth consumption. Which turned out to be just impossible :rolleyes:

    It's an extra 12 for me to bump to unlimited. I can't justify it. That's 6 cans of my favourite beverage. At my very low tolerance for alcohol that's 2 good nights. :D


  • Moderators, Education Moderators, Home & Garden Moderators Posts: 8,314 Mod ✭✭✭✭Jonathan


    swiri wrote: »
    Now I just need something that will monitor over time and create a usage graph!

    Try vnstat.


Advertisement