Port Specific Bandwidth Monitoring - Linux

Discussion in 'Operating Systems' started by Chibo, Apr 3, 2004.

  1. Chibo

    Chibo Gawd

    Messages:
    605
    Joined:
    Jun 21, 2003
    Hey, I was wondering if anyone knew of a program that would monitor bandwidth speeds/amount transferred by port. I've been getting some rather odd bandwidth amounts after going to sleep at night without anything queued to download. Ie. Last night I managed to download 2.5gb of god knows what while I was sleeping :eek: I have no idea what was downloaded nor what ports were in use. Thanks.
     
  2. cloaked

    cloaked Limp Gawd

    Messages:
    373
    Joined:
    Oct 7, 2003
    you can use netstat -an to look at current connections by port and ip (but ignore the unix sockets, as they are just part of X.
     
  3. Christopher

    Christopher Gawd

    Messages:
    634
    Joined:
    Sep 16, 2002
    ntop will show you bandwith usage by user/port/hostnames/etc.