7

The output of /proc/net/tcp on my ubuntu 12.10 is the following:

sl  local_address rem_address   st tx_queue rx_queue tr tm->when retrnsmt   uid  timeout inode                                                     
   0: 0100007F:0CEA 00000000:0000 0A 00000000:00000000 00:00000000 00000000   115        0 14759 **1 0000000000000000 100 0 0 10 -1** 

so as we can see that the number of data columns displayed are more then the names of the columns. So if I see in the end, I can find the following:

uid ->115

timeout->0

inode->14759

can some one tell what are the values after inode column, i.e. 1 0000000000000000 100 0 0 10 -1

5

It's detailed in CPANs Linux::Proc::Net::TCP module page:

 1000        0 54165785 4 cd1e6040 25 4 27 3 -1
    |        |    |     |    |     |  | |  |  |--> slow start size threshold, 
    |        |    |     |    |     |  | |  |      or -1 if the threshold
    |        |    |     |    |     |  | |  |      is >= 0xFFFF
    |        |    |     |    |     |  | |  |----> sending congestion window
    |        |    |     |    |     |  | |-------> (ack.quick<<1)|ack.pingpong
    |        |    |     |    |     |  |---------> Predicted tick of soft clock
    |        |    |     |    |     |              (delayed ACK control data)
    |        |    |     |    |     |------------> retransmit timeout
    |        |    |     |    |------------------> location of socket in memory
    |        |    |     |-----------------------> socket reference count
    |        |    |-----------------------------> inode
    |        |----------------------------------> unanswered 0-window probes
    |---------------------------------------------> uid
2
  • 1
    The perl docs themselves are just an excerpt from the kernel documentatin on this topic
    – nh2
    Apr 13 '17 at 19:21
  • The link is broken. Please update it.
    – frogatto
    Sep 3 '17 at 9:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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