This is a discussion on how to monitor my broadband speed all the time within the Linux General forums, part of the Linux Forums category; Hi everyone, I want to know is there anyway to run a script such that it always monitor my net ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
dhanu <dhanu0923@gmail.com> wrote:
> Hi everyone, > > I want to know is there anyway to run a script such that it always > monitor my net speed and save it > in a file. netstat -c -i will show packet counts continuously... Dunno about speed though. -- | |What to do if you find yourself stuck in a crack| | spike1@freenet.co.uk |in the ground beneath a giant boulder, which you| | |can't move, with no hope of rescue. | | Andrew Halliwell BSc |Consider how lucky you are that life has been | | in |good to you so far... | | Computer Science | -The BOOK, Hitch-hiker's guide to the galaxy.| |
|
|||
|
On Thu, 26 Jun 2008 13:06:34 +0100, Andrew Halliwell wrote:
> dhanu <dhanu0923@gmail.com> wrote: >> Hi everyone, >> >> I want to know is there anyway to run a script such that it always >> monitor my net speed and save it >> in a file. > > netstat -c -i will show packet counts continuously... Dunno about speed > though. How could you make it listen only on the external interface ? There doesn't seem to be an option to show just the specified interface. |
|
|||
|
John Taylor <john@example.com> wrote:
> On Thu, 26 Jun 2008 13:06:34 +0100, Andrew Halliwell wrote: > >> dhanu <dhanu0923@gmail.com> wrote: >>> Hi everyone, >>> >>> I want to know is there anyway to run a script such that it always >>> monitor my net speed and save it >>> in a file. >> >> netstat -c -i will show packet counts continuously... Dunno about speed >> though. > > How could you make it listen only on the external interface ? > There doesn't seem to be an option to show just the specified interface. > pipe it through grep? netstat -c -i | grep eth0 -- | spike1@freenet.co,uk | "Are you pondering what I'm pondering Pinky?" | | Andrew Halliwell BSc | | | in | "I think so brain, but this time, you control | | Computer Science | the Encounter suit, and I'll do the voice..." | |
|
|||
|
Andrew Halliwell wrote:
> dhanu <dhanu0923@gmail.com> wrote: >> Hi everyone, >> >> I want to know is there anyway to run a script such that it always >> monitor my net speed and save it >> in a file. > > netstat -c -i will show packet counts continuously... > Dunno about speed though. xosview will show bytes/second continuously; I have mine set to show them once a second. It merges all your NICs, though (and I think your dial-up if you have any). It does not log it though. -- .~. Jean-David Beyer Registered Linux User 85642. /V\ PGP-Key: 9A2FC99A Registered Machine 241939. /( )\ Shrewsbury, New Jersey http://counter.li.org ^^-^^ 09:45:01 up 19:05, 4 users, load average: 4.22, 4.30, 4.36 |
|
|||
|
On Thu, 26 Jun 2008 14:26:49 -0500, Robert Heller <heller@deepsoft.com> wrote:
>At Thu, 26 Jun 2008 04:22:38 -0700 (PDT) dhanu <dhanu0923@gmail.com> wrote: > >> >> Hi everyone, >> >> I want to know is there anyway to run a script such that it always >> monitor my net speed and save it >> in a file. > >ftp://ftp.deepsoft.com/pub/deepwoods...aph-0.0.tar.gz > >You need a tclkit -- download it from: > >http://www.equi4.com/tclkit.html > >And you need Tcl/Tk installed, along with BWidget and SNIT (SNIT is >usually part of the tcllib package). > >This program displays a bar graph of the activity on a select network >interface. It monitors /proc/net/dev and considers the delta bytes >transmitted and bytes received each second for the selected device(s). I rolled-my-own: http://bugsplatter.mine.nu/netdraw/ Does daily and monthly summaries, source code is there too. Grant. -- http://bugsplatter.mine.nu/ |