The value of the fields in / proc / net / udp

I would like to understand what each of the fields in / proc / net / udp and / proc / net / snmp means:

# cat /proc/net/udp sl local_address rem_address st tx_queue rx_queue tr tm->when retrnsmt uid timeout inode ref pointer drops 4: 00000000:006F 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 10777 2 ffff88023bbd3a80 0 110: 00000000:4959 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 10975 2 ffff88023bbd30c0 0 122: 00000000:0265 00000000:0000 07 00000000:00000000 00:00000000 00000000 0 0 10781 2 ffff88023bbd3400 0 # cat /proc/net/snmp Udp: InDatagrams NoPorts InErrors OutDatagrams RcvbufErrors SndbufErrors Udp: 768010194 3069028933 1052487950 17032 68916498 0 
+7
linux udp
source share
1 answer

/ Proc / Net / UDP

Holds a dump of the UDP socket table. Most of the information is not used except debugging. The value "sl" is the kernel hash interval for the socket "local_address" - this is the local address and port is the number of pairs. "Rem_address" is the remote address and port number of the pair (if connected). "St" is the internal status of the socket. "tx_queue" and "rx_queue" are the queue of outgoing and incoming data in the conditions for using kernel memory. The "Tr", "tm-> when" and "rexmits" fields are not used by UDP. The "uid" field contains the effective UID of the socket creator.

Also see https://stackoverflow.com/a/318628/

/ Proc / net / SNMP

This file contains the ASCII data required for the IP, ICMP, TCP, and UDP information databases for the SNMP agent.

From http://linux.die.net/man/5/proc

+7
source share

All Articles