21Jan/100
Installing vnstat
->
Step 1: Installing vnstat
cd /usr/local/src
wget http://humdi.net/vnstat/vnstat-1.6.tar.gz
tar -zxvf vnstat-1.6.tar.gz
cd vnstat-1.6
make && make install
vnstat -u -i eth0
Step 2: Making vnstat root only
chmod 700 /usr/bin/vnstat
chmod 700 /var/lib/vnstat/ -R
Step 3: Now you can check the stats, use help for possbible commands
vnstat --help