Thursday, October 22, 2009

How to get more network stats

A little while back, I was load testing a server and needed a way to verify the cards on the server and just see what was going on for network traffic. I found these commands helpful:

sudo mii-tool
ethtool eth0
dmesg | grep eth

For other networking throughput tests you can install iftop and bmw-ng

sudo su -c 'rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm'
sudo yum install -y iftop bwm-ng

then you can run

iftop
iftop -i eth0
bwm-ng

Search around if you want some more posts, these are just my crib notes. :-)

No comments: