I am using internet connection with data cap. I want to record my daily internet usage in a file, is there any tool for this or perhaps you can suggest a script that would run as daemon?
(I am not pro in bash scripting or with linux administrating software so a simple script will be recommended)
Best Answer
I use vnstat, which keeps track of daily stats for the last 30 days, and is available in the Ubuntu/Debian (and probably many more) repos.
Just install it and use it like
vnstat -i wlan0 -h
: