na VPSie z HE uruchomilem rT
z poziomu roota chce zainstalowac staty :/
wklepiuje komendy
"apt-get install vnstat"
potem
"vnstat -u -i eth0"
ale pokazuje sie:
Kod: Zaznacz cały
Error:
Unable to read database "/var/lib/vnstat/eth0".
Requested interface "eth0" not found.
Exiting...
ale gdy wkleje "vnstat -d" czy "vnstat -m"
to mi sie pokazuje blad
Kod: Zaznacz cały
No database found, nothing to do. Use --help for help.
A new database can be created with the following command:
vnstat -u -i eth0
Replace 'eth0' with the interface that should be monitored. A list
of available interfaces can be seen with the 'ifconfig' command.
Kod: Zaznacz cały
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:92 errors:0 dropped:0 overruns:0 frame:0
TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6148 (6.0 KiB) TX bytes:6148 (6.0 KiB)
venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 -00
inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255. 255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:7013596 errors:0 dropped:0 overruns:0 frame:0
TX packets:7921473 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:697724454 (665.4 MiB) TX bytes:4012285649 (3.7 GiB)
venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 -00
inet addr:87.230.76.226 P-t-P:87.230.76.226 Bcast:0.0.0.0 Mask:255. 255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
Nie aktualne, udalo mi sie zrobic. Kosz