netstat -s

The netstat -s command shows statistics for each protocol (while the netstat -p command shows the statistics for the specified protocol).

The netstat -s command displays statistics only for the following protocols:
  • TCP
  • UDP
  • SCTP
  • IP
  • IPv6
  • IGMP
  • ICMP
  • ICMPv6