netstat
0%

Troubleshooting · Lesson 4

netstat

Learn how to inspect Linux sockets, listeners, queues, and TCP states with ss.

The legacy netstat tool displays sockets, routes, and interface statistics. On modern Linux, ss is the preferred socket-inspection tool because it exposes kernel socket state efficiently and is maintained with iproute2.