aldin
March 3, 2007, 12:54pm
1
super stvarka u situaciji kada se ima router + više ljudi na jednoj konekciji - da svako sam sebe može kontrolisati
http://humdi.net/vnstat/
na ubuntu-u sudo apt-get install vnstat
GUI za vnstat-treba imati podignut apache i ovo postavljeno u /var/www ili gdje je već kod vaše distro "web dir"
http://www.sqweek.com/sqweek/index.php?p=1
mozda je do mene al meni ovaj program ne radi bash najbolje…
za dane i sate broji dobro(pojedinacno), al kada je u pitanju gledanje stanja u mjesecu ili prijasnjih dana u mjesecu, brojke su lude:
[code]linux:/bin # vnstat -t -i dsl0
dsl0
# day rx | tx | total
--------------------------------+-------------+-------------
1 11.03.07 12,335 MB | 12,296 MB | 24,631 MB
2 10.03.07 12,455 MB | 8,240 MB | 20,696 MB
3 05.03.07 8,258 MB | 8,214 MB | 16,473 MB
4 06.03.07 8,222 MB | 8,201 MB | 16,424 MB
5 07.03.07 8,203 MB | 8,194 MB | 16,398 MB
6 08.03.07 4,195 MB | 4,126 MB | 8,321 MB
7 12.03.07 76.59 MB | 63.81 MB | 140.41 MB
8 09.03.07 67.81 MB | 10.62 MB | 78.43 MB
9 04.03.07 4.16 MB | 0.46 MB | 4.62 MB
--------------------------------+-------------+-------------
linux:/bin #[/code]
[code]linux:/bin # vnstat -i dsl0
Database updated: Tue Mar 13 14:05:01 2007
dsl0
received: 53,845 MB (52.2%)
transmitted: 49,351 MB (47.8%)
total: 103,197 MB
rx | tx | total
---------------------+------------+-----------
yesterday 76.59 MB |63.81 MB | 140.41 MB
today 25.67 MB | 2.04 MB | 27.72 MB
--------------------------±-----------±----------
estimated 42 MB | 3 MB | 45 MB
linux:/bin #[/code]
aldin
March 13, 2007, 3:01pm
3
btw ja gledam na eth0… ne na ppp0 ili dsl0
jah, možda je do verzije…