ss - Display sockets statistics
Use the ss command to analyze the sockets that run on a Linux system.
The ss command replaces netstat, which is deprecated. The options for ss are similar to the netstat options.
Issue ss -r for a table of statistics with resolved addresses. For more information, see the man page.
Example
To start ss -r, issue:
[root@system]# ss -r
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port
u_str ESTAB 0 0 /run/dbus/system_bus_socket 19523 * 1382
u_str ESTAB 0 0 /run/systemd/journal/stdout 18592 * 16592
u_str ESTAB 0 0 * 18219 * 16595
u_str ESTAB 0 0 * 18086 * 636
u_str ESTAB 0 0 /run/systemd/journal/stdout 16595 * 18219
u_str ESTAB 0 0 * 16601 * 1375
u_str ESTAB 0 0 /run/systemd/journal/stdout 16593 * 18175
u_str ESTAB 0 0 /run/systemd/journal/stdout 16615 * 16614
u_str ESTAB 0 0 * 18221 * 16597
u_str ESTAB 0 0 /run/systemd/journal/stdout 1531 * 18389
u_str ESTAB 0 0 * 18175 * 16593
[...]