Viv*_*vek 7 networking 12.04 proc
我的 ubuntu 12.10 上的 /proc/net/tcp 输出如下:
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**
Run Code Online (Sandbox Code Playgroud)
所以我们可以看到显示的数据列的数量比列的名称多。所以如果我看到最后,我可以找到以下内容:
uid ->115
timeout->0
inode->14759
有人可以告诉 inode 列之后的值是什么,即 1 0000000000000000 100 0 0 10 -1
它在 CPANs Linux::Proc::Net::TCP模块页面中有详细说明:
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
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
7688 次 |
最近记录: |