OK great, you were right. I had to use
Code:
#chmod +x /etc/rc.d/rc.vnstat
then
Code:
#/etc/rc.d/rc.vnstat start
I also added a startup to rc.local:
Code:
# Start vnstat
if [ -x /etc/rc.d/rc.vnstat ]; then
/etc/rc.d/rc.vnstat start
fi
Of course all this I would have known if I'd actually looked at the SBo page properly.
I'm on a capped connection here, hence why I need it. Amazing how much data is gobbled through streaming. This was just from a four min YouTube video:
Code:
lysander@lysplorer_iv:/etc/rc.d$ vnstat -i wlan0
Database updated: 2019-01-26 14:20:00
wlan0 since 2019-01-26
rx: 29.40 MiB tx: 1.06 MiB total: 30.46 MiB
monthly
rx | tx | total | avg. rate
------------------------+-------------+-------------+---------------
2019-01 29.40 MiB | 1.06 MiB | 30.46 MiB | 115.00 bit/s
------------------------+-------------+-------------+---------------
estimated 33.21 MiB | -- | 33.21 MiB |
daily
rx | tx | total | avg. rate
------------------------+-------------+-------------+---------------
today 29.40 MiB | 1.06 MiB | 30.46 MiB | 4.95 kbit/s
------------------------+-------------+-------------+---------------
estimated 49.22 MiB | 1.78 MiB | 51.00 MiB |
lysander@lysplorer_iv:/etc/rc.d$
Anyway, thank you. I'll keep an eye on this.
Not sure what I should pay attention to though - 'total' or the 'estimated'.