# cat /proc/net/udp | egrep "sl|3ADBFE0A"
sl local_address rem_address st tx_queue rx_queue tr tm->when retrnsmt uid timeout inode ref pointer drops
16: 3ADBFE0A:007B 00000000:0000 07 00000000:00000000 00:00000000 00000000 74 0 40124 2 f203ca80 0
509: 3ADBFE0A:0868 00000000:0000 07 00008C00:00000000 00:00000000 00000000 0 0 79208333 2 ea226340 0
나는 "cat proc / net / udp"출력, 특히 tx_queue의 필드에 대해 좀더 깊고 초보자에게 친숙한 설명을 원합니다.
proc (5) 매뉴얼 페이지에서 :
/proc/net/udp
Holds a dump of the UDP socket table. Much of the information is not of use apart from debugging. The "sl" value is the kernel hash slot for the socket, the "local address" is the local address and
port number pair. The "remote address" is the remote address and port number pair (if connected). ’St’ is the internal status of the socket. The ’tx_queue’ and ’rx_queue’ are the outgoing and incom-
ing data queue in terms of kernel memory usage. The "tr", "tm->when", and "rexmits" fields hold internal information of the kernel socket state and are only useful for debugging. The "uid" field
holds the effective UID of the creator of the socket.
이 [tx_queue] 값이 0보다 큰 경우, 전송 대기중인 패킷이 더 많고 응용 프로그램이 해당 패킷을 보낼만큼 빠르지 않다는 것을 의미하는 것으로 이해할 수 있습니까?
만나다 stackoverflow.com/questions/23753306/...
—
Xen2050