In details, it is possible to see your network adapters' traffic data based on years, months, weeks, days, hours and even real time data flow rates, running vnstat at the background with a small system resource like 1mb ram.
Setup
cd /usr/local/srcOK configuration fineshed, now it is time to setup startup script which can be downloaded from
wget http://humdi.net/vnstat/vnstat-1.10.tar.gz
tar zxvf vnstat-1.10.tar.gz
cd vnstat-1.10
make
make all
make install
vnstat -u -i eth0 #eth0 should be replaced by your network adapter
vi /etc/vnstat.conf #change eth0 in conf file with your network adapter
/etc/init.d scripts for vnStat daemon
- Debian / Ubuntu
- RedHat / Fedora / CentOS
- Arch (/etc/rc.d)
- openSUSE
vnstat --help # I think this will be enough :)
No comments:
Post a Comment