Help with /proc/net/tcp fields

From: DervishD (raul_at_pleyades.net)
Date: 02/20/04

  • Next message: Helene Covington: "girth? LVIS 621"
    Date:	Fri, 20 Feb 2004 11:50:13 +0100
    To: Linux-kernel <linux-kernel@vger.kernel.org>
    
    

        Hi all :)

        I'm trying to decode what the field in the output of
    /proc/net/tcp means, with little success. Apart from the fact that
    the four last fields have no description (and looking at undocumented
    sources is really a pain a very time-consuming), I have the following
    doubts:

        - I assume that 'sl' is the socket number, but, what does 'sl'
    stand for?
        - What represents the 'st' field?
        - I suppose that 'tr:tm->when' represents if there is any timer
    on that socket (well, 'tr' is the number of timers), and when will
    expire the nearest one, but I'm not sure.
        - I suppose that 'timeout' is the time to die when the socket is
    in FIN_WAIT state, but I'm afraid I'm wrong :(
        - Does the 'retrnsmt' field show the retransmissions happened in
    this socket?

        If anyone can explain me these fields (and the unnamed fields at
    the end) I will be very grateful, and if someone could direct me to a
    site with related information it will help, too.

        Thanks a lot in advance :)

        Raúl Núñez de Arenas Coronado

    -- 
    Linux Registered User 88736
    http://www.pleyades.net & http://raul.pleyades.net/
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Helene Covington: "girth? LVIS 621"

    Relevant Pages

    • 2.6.0 - Network doesnt come up.
      ... Bringing up loopback interface: arping: socket: Address family not supported ... some other host already uses address 127.0.0.1. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: PROBLEM: blocking read on socket repeatedly returns EAGAIN
      ... > the other end does not readthe data written to the socket. ... You are describing behaviour as expected with nonblocking set. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: GFS, whats remainingh
      ... But you said it runs on an aging Alpha, surely you do not intend to expand it ... synchronization keeps you from spreading out the load over multiple boxes? ... Use a socket, as ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [NBD] Use per-device semaphore instead of BKL
      ... > while you're clearing the queue someone else could have set the ... > socket again and started queueing requests). ... BKL to protect the ioctl's against each other. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Help with /proc/net/tcp fields
      ... | /proc/net/tcp means, with little success. ... | on that socket, and when will ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)