I'm keeping track of data transfers on my network interfaces but want them to be reset to
0 on the 1st of each month.
When I try
echo 0 to the
tx_bytes files I get this:
bash: /sys/class/net/wlan0/statistics/rx_bytes: Permission denied
I run the command as root.
I also tried copying (overwriting) in a file:
cp: cannot create regular file:‘/sys/class/net/wlan0/statistics/rx_bytes’: Permission denied
I also tried changing permissions to
777 (default is