the file /proc/net/dev logs all network traffic in a kind of table. Does
anybody know how to reset this file (all data to zero). Does a removing do,
or sthg. like cat /dev/null > /proc/net/dev, or is there a special command?
THX 4 your answers,
Michael Rentzsch
--
Stud. Informatik
www.repc.de
Mobil: (0174) 9 75 24 81 Talk: mr...@repc.csn.tu-chemnitz.de
/proc is a "phony" filesystem created at runtime, it does not use
any space on the disk, the data are read from the memory.
The information in /proc/net/dev are the same that you obtain
using /sbin/ifconfig. If you want to reset those numbers, you have to
shutdown and restart the interface (ifconfig down/ifconfig up).
Davide