Server Fault is a question and answer site for system and network administrators. 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 need to keep watch on how much bandwidth some connections are taking in a server, and I know I have seen a top-like tool for that before. However, I can't remember the name of the tool, and I'm not having much luck searching for it.

So, is there a top-like tool for that? I'm running Debian.

share|improve this question

closed as off-topic by HopelessN00b, Rex, mdpc, Katherine Villyard, Jenny D Feb 24 '14 at 9:57

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking product, service, or learning material recommendations are off-topic because they tend to become obsolete quickly. Instead, describe your situation and the specific problem you're trying to solve." – HopelessN00b, Rex, mdpc, Katherine Villyard, Jenny D
If this question can be reworded to fit the rules in the help center, please edit the question.

what OS are you looking at? – Jim B Jun 10 '11 at 14:21
up vote 26 down vote accepted

iftop or pktstat -nT (for short term monitoring) is what you need to do this (under *nix). For long-term monitoring, ntop is useful.

Finding pktstat is a little tricky for those who aren't running a Debian / Ubuntu box, but this is a decent pktstat source-code archive

Use tcpview if you want the same kind of stats under windows

share|improve this answer
Tested ntop and it is pretty neat. However, the man page sucks to say where it saves the data to read after a run. – Soham Chakraborty Dec 26 '13 at 12:45

You might also want to have a look at iptraf.

share|improve this answer

There's also nethogs which shows traffic per process, most of the popular distros have a package for it.

share|improve this answer

I am partial for pktstat. It can easily also show real-time data on the traffic as URLs for HTTP GETs, queries for DNS, etc.

share|improve this answer
Ok, I'm really enjoying pktstat. I like iftop's display better, but seeing the URLs is particularly useful for me at the moment! I'll stick with my original accepted answer on the grounds that it provided a Windows alternative as well, and that iftop does the job. – Daniel C. Sobral Jun 10 '11 at 18:29

jnettop is my personal favorite. Seems to exist for most distros. Ref:

share|improve this answer

There is also ntop, although it isn't terminal based anymore.

share|improve this answer

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