- Mitglied seit
- 2 Dez 2007
- Beiträge
- 8,014
- Punkte für Reaktionen
- 28
- Punkte
- 48
vnstat funktioniert jetzt auch auf meinen Boxen:
Code:
/var/mod/root # ldd /usr/bin/vnstat
libm.so.0 => /lib/libm.so.0 (0x2aabe000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2aae9000)
libc.so.0 => /lib/libc.so.0 (0x2ab07000)
ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)
Code:
/var/mod/root # vnstat --help
vnStat 1.9 by Teemu Toivola <tst at iki dot fi>
-q, --query query database
-h, --hours show hours
-d, --days show days
-m, --months show months
-w, --weeks show weeks
-t, --top10 show top10
-s, --short use short output
-u, --update update database
-i, --iface select interface (default: eth0)
-?, --help short help
-v, --version show version
-tr, --traffic calculate traffic
-ru, --rateunit swap configured rate unit
-l, --live show transfer rate in real time
See also "--longhelp" for complete options list and "man vnstat".
Code:
/var/mod/root # vnstat -l -i wan
Monitoring wan... (press CTRL-C to stop)
rx: 0 kbit/s 0 p/s tx: 0 kbit/s 0 p/s
wan / traffic statistics
rx | tx
--------------------------------------+------------------------
bytes 454 KiB | 113 KiB
--------------------------------------+------------------------
max 1.06 Mbit/s | 108 kbit/s
average 68.53 kbit/s | 17.06 kbit/s
min 0 kbit/s | 0 kbit/s
--------------------------------------+------------------------
packets 502 | 610
--------------------------------------+------------------------
max 103 p/s | 105 p/s
average 9 p/s | 11 p/s
min 0 p/s | 0 p/s
--------------------------------------+------------------------
time 53 seconds