[ilugd] Determining total bandwidth use by a network interface

2008-10-01 Thread Viksit Gaur
Hi all,

Is there a method to figure out how much data has been handled by a particular 
network interface on a machine since a new OS was installed or over a given 
span of time? The machine *has* rebooted a few times over the last year, so any 
logs that are temporary are gone now. It runs Ubuntu Feisty.

Do NICs themselves store this data in some form? Could the the OS do so without 
having switched on any explicit logging?

In either case, what would be a good tool to use to do this?

Cheers
Viksit


  

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Determining total bandwidth use by a network interface

2008-10-01 Thread narendra sisodiya
I think you need Network monitor desklet

=- right click on gnome-panel
==- Add to panel
===- Network Monitor
=- Add
This will give information of network activity and received data..

On Thu, Oct 2, 2008 at 3:53 AM, Viksit Gaur [EMAIL PROTECTED] wrote:

 Hi all,

 Is there a method to figure out how much data has been handled by a
 particular network interface on a machine since a new OS was installed or
 over a given span of time? The machine *has* rebooted a few times over the
 last year, so any logs that are temporary are gone now. It runs Ubuntu
 Feisty.

 Do NICs themselves store this data in some form? Could the the OS do so
 without having switched on any explicit logging?

 In either case, what would be a good tool to use to do this?

 Cheers
 Viksit




 ___
 ilugd mailinglist -- ilugd@lists.linux-delhi.org
 http://frodo.hserus.net/mailman/listinfo/ilugd
 Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi
 http://www.mail-archive.com/ilugd@lists.linux-delhi.org/




-- 
┌───[ Narendra Sisodiya ]──┐
│ http://narendra.techfandu.org
│ http://www.lug-iitd.org
└[ +91-93790-75930 ]──┘
___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Determining total bandwidth use by a network interface

2008-10-01 Thread Viksit Gaur

--- On Thu, 10/2/08, narendra sisodiya [EMAIL PROTECTED] wrote:
 I think you need Network monitor desklet

Thanks. I was talking more in terms of a command line access method though - 
this is a server that doesn't run X. Also, does the network monitor app keep 
track of ALL data I/O, ever? Or is it limited by certain factors?

Cheers
Viksit

 
 
 On Thu, Oct 2, 2008 at 3:53 AM, Viksit Gaur
 [EMAIL PROTECTED] wrote:
 
  Hi all,
 
  Is there a method to figure out how much data has been
 handled by a
  particular network interface on a machine since a new
 OS was installed or
  over a given span of time? The machine *has* rebooted
 a few times over the
  last year, so any logs that are temporary are gone
 now. It runs Ubuntu
  Feisty.
 
  Do NICs themselves store this data in some form? Could
 the the OS do so
  without having switched on any explicit logging?
 
  In either case, what would be a good tool to use to do
 this?
 
  Cheers
  Viksit
 
 
 
 
  ___
  ilugd mailinglist -- ilugd@lists.linux-delhi.org
  http://frodo.hserus.net/mailman/listinfo/ilugd
  Archives at:
 http://news.gmane.org/gmane.user-groups.linux.delhi
 
 http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
 
 
 
 
 -- 
 ┌───[ Narendra Sisodiya
 ]──┐
 │ http://narendra.techfandu.org
 │ http://www.lug-iitd.org
 └[ +91-93790-75930
 ]──┘
 ___
 ilugd mailinglist -- ilugd@lists.linux-delhi.org
 http://frodo.hserus.net/mailman/listinfo/ilugd
 Archives at:
 http://news.gmane.org/gmane.user-groups.linux.delhi
 http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


  

___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/


Re: [ilugd] Determining total bandwidth use by a network interface

2008-10-01 Thread PJ
Viksit Gaur [EMAIL PROTECTED] writes:

 Do NICs themselves store this data in some form? Could the the OS do so
without having switched on any
 explicit logging?

The proc system keeps track of RX/TX packets until reboot. Readable in:

/sbin/ifconfig eth0 |grep X

But it cycles at a maximum of x packets though, where x is related
to 32bit size (not sure of details and if it is different these days or
varies with 64 bit kernels etc).

 In either case, what would be a good tool to use to do this?

vnstat is a very light package that will collect those stats. But you have to
install it first. vnstat can be inaccurate if you keep switching the
machine off before it can process sampled data enough.

PJ


___
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/