Check connected ports and RX TX details of NIC
Troubleshooting ports and services
The ss command is used to display socket statistics. It is similar to the net stat command.
Display the statistics for the eth0 interface.
Viewing network information with nmcli
To display a list of all connections, use nmcli con show. To list only the active connections, add the – -active option.