ss Command Examples

Utility to investigate sockets. More information: https://manned.org/ss.8.

ss {{[-a|--all]}} {{-t|-u|-w|-x}}

ss {{state|exclude}} {{bucket|big|connected|synchronized|...}}

ss {{[-t|--tcp]}} src :{{443}}

ss {{[-lt|--listening --tcp]}} src :{{8080}}

ss {{[-pt|--processes --tcp]}} dst :{{ssh}}

ss {{[-u|--udp]}} 'sport == :{{source_port}} and dport == :{{destination_port}}'

ss {{[-4t|--ipv4 --tcp]}} src {{192.168/16}}

ss {{[-K|--kill]}} dst {{192.168.1.17}} dport = {{8080}}