ethstats – script that quickly measures network device throughput
ethstats works by parsing the /proc/net/dev file that the Linux kernel maintains, and thus utilizes a negligible amount of CPU time. ethstats shows the throughput of each device in both megabits per second and packets per second.
Install ethstats
#apt-get install ethstats
Reading package lists… Done
Building dependency tree… Done
The following NEW packages will be installed
ethstats
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 4318B of archives.
After unpacking 53.2kB of additional disk space will be used.
Get: 1 ftp://kambing.ui.edu stable/main ethstats 1.0-2 [4318B]
Fetched 4318B in 0s (15.3kB/s)
Selecting previously deselected package ethstats.
(Reading database … 39699 files and directories currently installed.)
Unpacking ethstats (from …/ethstats_1.0-2_all.deb) …
Setting up ethstats (1.0-2) …
this will complete the installation.If you want to use ethstats run the following command
#ethstats
Output looks like below
total: 0.02 Mb/s In 0.29 Mb/s Out - 21.3 p/s In 33.7 p/s Out
eth0: 0.02 Mb/s In 0.29 Mb/s Out - 21.3 p/s In 33.7 p/s Out
sit0: 0.00 Mb/s In 0.00 Mb/s Out - 0.0 p/s In 0.0 p/s Out





March 2nd, 2009 at 5:08 am
appreciate the info guys, thanks