Difference between revisions of "vnstat"
From thelinuxwiki
(Created page with " # vnstat --testkernel # vnstat --iflist Available interfaces: lo eth0 # vnstat -u -i eth0 Error: Unable to read database "/var/lib/vnstat/eth0". Info: -> A new dat...") |
|||
Line 10: | Line 10: | ||
Error: Unable to read database "/var/lib/vnstat/eth0". | Error: Unable to read database "/var/lib/vnstat/eth0". | ||
Info: -> A new database has been created. | Info: -> A new database has been created. | ||
+ | |||
+ | |||
+ | == scratch == | ||
+ | |||
+ | # chown root:monitor /var/lib/vnstat/* |
Revision as of 15:57, 23 July 2013
# vnstat --testkernel
# vnstat --iflist Available interfaces: lo eth0
# vnstat -u -i eth0 Error: Unable to read database "/var/lib/vnstat/eth0". Info: -> A new database has been created.
scratch
# chown root:monitor /var/lib/vnstat/*