Lucifa Lucifa - 1 year ago 78
Linux Question

How to get the statistics info for one interface through linux command?

we know that some linux command can get tcp statistics info ,such as "netstat -s --tcp" ,"ss -s -t" , but how to get statistics for one specific interface ?

Answer Source

You can use tcpstat :

tcpstat - report network interface statistics

tcpstat -i <interface>

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download