An alternative to netstat is the utility ss. ss dumps socket statistics in a clear and more simple view as compared to netstat. Let’s check it out!
With no options specified, ss displays a list of TCP sockets with established connections. This is useful on a server to see what clients are connected.
The option tack l outputs current listening sockets. Much easier than netstat!
Tack t shows current TCP sockets; tack u for UDP sockets:
Tack s shows a socket stat summary:
Tack a shows all: