Pour TCP Buffer, vous pouvez utiliser
       netstat -nt 
et recherchez les deuxième et troisième colonnes pour le tampon de réception et d'envoi (Recv-Q, Send-Q)
Pour UDP
       netstat -nua
De la même manière, vous pouvez regarder à l'intérieur de /proc/net/{tcp,udp} et rechercher tx_queue &rx_queue
De la même manière que vous pouvez utiliser
          ethtool -S <nic card name>  (driver need to support)
                NIC statistics:
                rx_packets: 445
                tx_packets: 48
                rx_bytes: 56015
                tx_bytes: 5938
                rx_broadcast: 336
                tx_broadcast: 2
                rx_multicast: 89
                tx_multicast: 28
                rx_errors: 0
                tx_errors: 0
                tx_dropped: 0
Je veux aussi juste ajouter qu'il y a un paramètre réseau "tcp_moderate_rcvbuf" qui est activé par défaut, effectue le réglage automatique du tampon de réception. Selon kernel-doc
     If set, TCP performs receive buffer auto-tuning, attempting to
     automatically size the buffer (no greater than tcp_rmem[2]) to
     match the size required by the path for full throughput