root@ks3290035:~# chmod o+x /usr/bin/vnstat
root@ks3290035:~# sudo chmod o+x /usr/bin/vnstat
root@ks3290035:~# vnstat -u -i 23880
Error: Unable to read database "/var/lib/vnstat/23880".
Error: Unable to get interface "23880" statistics.
Error: Interface "23880" couldn't be found.
Only available interfaces can be added for monitoring.
The following interfaces are currently available:
dummy0 bond0 eth0 ip6tnl0 lo sit0 tunl0
root@ks3290035:~# chmod o+wx /var/lib/vnstat/
root@ks3290035:~# vnstat -u -i 23880
Error: Unable to read database "/var/lib/vnstat/23880".
Error: Unable to get interface "23880" statistics.
Error: Interface "23880" couldn't be found.
Only available interfaces can be added for monitoring.
The following interfaces are currently available:
dummy0 bond0 eth0 ip6tnl0 lo sit0 tunl0
root@ks3290035:~# vnstat -u -i ath0
Error: Unable to read database "/var/lib/vnstat/ath0".
Error: Unable to get interface "ath0" statistics.
Error: Interface "ath0" couldn't be found.
Only available interfaces can be added for monitoring.
The following interfaces are currently available:
dummy0 bond0 eth0 ip6tnl0 lo sit0 tunl0
感觉上面的步骤还有问题...但是不知道哪里有问题...