netstat question

Discussion in 'Linux Networking' started by Hactar, May 4, 2014.

  1. Hactar

    Hactar Guest

    When I do

    netstat -A inet

    how often is the data structure it reads updated?

    Also, is there any way to match up processes with how much data they use?
    I'd like to find out which processes are net hogs.
     
    Hactar, May 4, 2014
    #1
    1. Advertisements

  2. Install tcptrack maybe.
     
    Jonathan N. Little, May 4, 2014
    #2
    1. Advertisements

  3. Hi,

    Did you try iftop?

    Jamma.
     
    Jamma Tino Schwarze, May 5, 2014
    #3
  4. Hactar

    Frank Elsner Guest

    Install "nethogs".


    --Frank
     
    Frank Elsner, May 5, 2014
    #4
  5. Hactar

    Hactar Guest

    Nice, that looks like it does what I need. Question: there's a bunch of
    "processes" whose names look like "..23400-78.25.122.156:40796" -- what's
    up with that?
     
    Hactar, May 5, 2014
    #5
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.