Code: Select all
cat /sys/class/net/eth0/statistics/rx_bytesPackets can be different size, so I think bytes works better for my purposes.
And it works on virtual interfaces as well!
Thanks!!!
Code: Select all
cat /sys/class/net/eth0/statistics/rx_bytesCode: Select all
sudo systemctl start openvpn-client@A
Job for openvpn-client@A.service failed because the control process exited with error code.
See "systemctl status openvpn-client@A.service" and "journalctl -xe" for details.