On Saturday 25 February 2006 06:43, pelibali wrote:
Hi,
I checked the archive and found ntop for preparing stats on the net- work traffic I have e.g. on my eth0. I liked the program itself, but I would rather need simpler and not so comprehensive stats; preferably would like to see a monthly stat with all of the traffic summary with not so much details.
Is there a software like that existing?
If you are after just the amount of traffic for a given period have a look at vnstat, it will give you the overall incoming and outgoing traffic on a daily basis. You will find the program on the SuSE distro. The output looks like this # vnstat -d -i dsl0 dsl0 day rx | tx | total ------------------------+-------------+-------------- 29.01. 64.21 MB | 9.26 MB | 73.48 MB 30.01. 84.94 MB | 26.10 MB | 111.04 MB 31.01. 126.86 MB | 55.06 MB | 181.92 MB 01.02. 132.41 MB | 36.81 MB | 169.22 MB 02.02. 91.68 MB | 21.10 MB | 112.79 MB 03.02. 1,516 MB | 73.50 MB | 1,589 MB Just a note you have to add an entry to the crontab like below for it to operate. 0-55/5 * * * * /usr/bin/vnstat -u -i dsl0 -- Regards, Graham Smith