Re: Reset Interface statistics eth0

2003-06-01 Thread Werner Puschitz
On Sun, 1 Jun 2003, Mikevl wrote: > Hi Werner > > Yes this sound like what I wanted. Can I achieve the same thing by using > "ifdown" and then run rmmod alias eth1 3c59x. Yes, as long as the 3c59x module is not used by another network adapter. Otherwise rmmod for 3c59x won't work. > > Will r

Re: Reset Interface statistics eth0

2003-06-01 Thread Mikevl
Werner Puschitz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 01, 2003 11:21 AM Subject: Re: Reset Interface statistics eth0 > > On Sun, 1 Jun 2003, Mikevl wrote: > > > Hi > > > > As part of my tracking of the monthly DSL traffic I would like

Re: Reset Interface statistics eth0

2003-06-01 Thread Werner Puschitz
On Sun, 1 Jun 2003, Mikevl wrote: > Hi > > As part of my tracking of the monthly DSL traffic I would like to be able to reset > the interface statistics as shown in if config or /proc/net/dev. I have tried > "ifdown, ifup" although this stops the interface it does not reset the statistics > f

Re: Reset Interface statistics eth0

2003-06-01 Thread Mikevl
is lying about usage. Many thanks Mike - Original Message - From: "Jonathan M. Slivko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, June 01, 2003 11:07 AM Subject: RE: Reset Interface statistics eth0 > > -BEGIN PGP SIGNED MESSAGE- > Hash

RE: Reset Interface statistics eth0

2003-06-01 Thread Jonathan M. Slivko
05 PM To: [EMAIL PROTECTED] Subject: Reset Interface statistics eth0 Hi As part of my tracking of the monthly DSL traffic I would like to be able to reset the interface statistics as shown in if config or /proc/net/dev. I have tried "ifdown, ifup" although this stops the interface it does no

Reset Interface statistics eth0

2003-06-01 Thread Mikevl
Hi   As part of my tracking of the monthly DSL traffic I would like to be able to reset the interface statistics as shown in if config or /proc/net/dev. I have tried "ifdown, ifup" although this stops the interface it does not reset the statistics for the interface. Obviously I could reset th

RE: Reset interface statistics

2002-01-09 Thread Linux
Title: RE: Reset interface statistics Thanks Brad -Original Message-From: Brad Bonkoski [mailto:[EMAIL PROTECTED]]Sent: Thursday, 10 January 2002 03:10To: '[EMAIL PROTECTED]'Subject: RE: Reset interface statistics Send the original post to this list: [EMAIL

RE: Reset interface statistics

2002-01-09 Thread Brad Bonkoski
Title: RE: Reset interface statistics Send the original post to this list: [EMAIL PROTECTED] They may be able to be of more help, perhaps there is some ioctl() you could call to reset it, if so, they would know! *note: I think they only allow plain text, anything else won't go th

RE: Reset interface statistics

2002-01-08 Thread Linux
Title: RE: Reset interface statistics Thanks for your reply much appreciated   No I have never had this working, but I need to get it working. I am not bent on messing with values in /proc/net/dev but thought there must be a way to reset the Ethernet stats periodically. I had not

RE: Reset interface statistics

2002-01-08 Thread Brad Bonkoski
Title: RE: Reset interface statistics Your message makes it sound like you did this before and NOW it is not working.  Is this correct? I don't see how you could.  The only way you could clear out the proc table is for the kernel to loose knowledge of the device.  You as a

Re: Reset interface statistics

2002-01-08 Thread Robert Dege
Since the value is in /proc, I don't know if you can "zero it out" since the kernel writes data to that file. What you can probably do (which might be easier), is to write a script. Either that, or just reboot your machine at the beginning of each billing cycle. I figure a reboot would zero ou

Reset interface statistics

2002-01-08 Thread Linux
Hi I have a Redhat 7.1 box which I am reading the Interface statistics from /proc/net/dev. I need to reset the Interface statistics periodically as the I collect the Internet interface traffic throughput so I can keep tabs on my ISP billing. This has been a successful measure of total internet