Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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


share|improve this answer

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .