TCP Statistics for IPv6

Sathya asked:

I’m using Linux RHEL55. I need to collect tcp6 statistics data. if i run “netstat -s”, it gives data only for tcp and not for tcp6. But we can get tcp connection status for ipv6 in windows. why we cant get tcp connection statistics for ipv6? Can anyone give suggestion for my query?

My answer:

The netstat command in RHEL 5 does not support IPv6. It’s also deprecated. Use the ss command instead.

ss -s

Note well that this displays summary information and doesn’t contain quite all the information that netstat -s might have displayed.

View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.