10

Is there a linux program that allows you to look into your current download traffic? Something that can list all the addresses I am currently connected to and downloading from.

Gilles 'SO- stop being evil'
  • 807,993
  • 194
  • 1,674
  • 2,175
Soyuz
  • 367
  • 1
  • 2
  • 9

2 Answers2

10

check iftop and nload

iftop does for network usage what top(1) does for CPU usage. It listens to network traffic on a named interface and displays a table of current bandwidth usage by pairs of hosts. Handy for answering the question "why is our ADSL link so slow?".


nload is a console application which monitors network traffic and bandwidth usage in real time. It visualizes the in- and outgoing traffic using two graphs and provides additional info like total amount of transfered data and min/max network usage.

To peek into the data being downloaded/uploaded: Wireshark

Wireshark is the world's foremost network protocol analyzer. It lets you capture and interactively browse the traffic running on a computer network. It is the de facto (and often de jure) standard across many industries and educational institutions.

Renan
  • 16,976
  • 8
  • 69
  • 88
  • 1
    thanks, I nload and iftop seem to be what I need (don't want to use wireshark in my use case) – Soyuz Oct 08 '12 at 00:53
  • With top, iftop and nload, information changes rather quickly. Aside from altering the display update frequency, can you give any tips on how to assimilate this information - especially when you're not in the habit of looking at such things all the time? – Joe Oct 13 '12 at 16:04
3

Yes, simply run the following command :

iftop

iftop does for network usage what top(1) does for CPU usage

enter image description here

See http://www.ex-parrot.com/~pdw/iftop/

Gilles Quénot
  • 31,569
  • 7
  • 64
  • 82