Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using SUSE. I'd like to find a command to show dynamic statistics of level two device, which means vlanx, ethx in terms of number of packets received and send.

share|improve this question
    
Unless the Linux device itself is acting as a VLAN switch or the VLANs are routed down the trunk from the uplink, VLAN encapsulation data is stripped off before it is sent down the link so you won't see it on the node. –  Garrett Nov 15 '11 at 15:20
add comment

2 Answers

ntop will do the job for you. In a typical scenario you have to install ntop from repo.

In a debian environment,

sudo apt-get install ntop

to get status,

ntop -A

resource

share|improve this answer
add comment

Another nice program is iptraf. In SUSE you can install it using command yast -i iptraf or use your graphical package manager. It is ncurses based pseudo graphical program i.e. it runs in terminal window. Its use is very straightforward.

share|improve this answer
    
Can you maybe explain how to get it, what it does, how to use it? –  slhck Nov 17 '11 at 21:49
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.