Check Network Traffic Over Specific NIC - Linux/CentOS

I'm trying to view the ingoing and outgoing traffic over eth0 interface.

I did: netstat -t -u -c

How can i make it specific for eth0?
LVL 1
F-J-KAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

woolmilkporcCommented:
0
F-J-KAuthor Commented:
Can you give me the full command, i'm really stuck. Thanks
0
Ricardo CananiCommented:
Maybe you could use iftop:

iftop -i eth0
iftop -i eth1

http://en.wikipedia.org/wiki/Iftop

Debian: http://packages.debian.org/search?keywords=iftop
Redhat/Fedora/CentOS http://dag.wieers.com/rpm/packages/iftop/
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
F-J-KAuthor Commented:
Thx
0
Hugh FraserConsultantCommented:
If you're looking for historical trending, you can also try ntop. If you're looking to sniff the traffic, tcpdump or wireshark.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.