reset /proc/net/dev

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




HI List,
How do i reset the values in /proc/net/dev ?
This file holds values for count of each (packet && byte),
(sent && received) through all interfaces.

I'm using a monitor which reads values from this
file and prints out some nicely formatted output.

But i need to reset the values. ie. set then to zero.
Restarting the network does not do what i want.
I guess a reboot should do it.

Any other way?

--
arc_of_descent
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux