Skip to main content

Linux command: ss - socket statistics

ss is another utility to investigate sockets. It can display more TCP and state information than other tools.

Examples

List all sockets

$ ss -a

Show statistics

$ ss -s

List all listening sockets

$ ss -l

List TCP connections

$ ss -t

List UDP connections

$ ss -u

Show process using socket

$ ss -p

Popular posts from this blog

VyOS: Installation

VyOS is a Linux-based network operating system that provides software-based network routing, firewall, and VPN functionality. http://packages.vyos.net/iso/release/1.1.8/vyos-1.1.8-i586.iso http://packages.vyos.net/iso/release/1.1.8/vyos-1.1.8-amd64.ova

Linux command: swapon

Two ways to check if swap partition exists.

Viber: Notes