ss

Aus Foxwiki

ss - another utility to investigate sockets

Beschreibung

ss is used to dump socket statistics. It allows showing information similar to netstat. It can display more TCP and state information than other tools.

Installation

Anwendungen

ss -t -a

Display all TCP sockets.

ss -t -a -Z

Display all TCP sockets with process SELinux security contexts.

ss -u -a

Display all UDP sockets.

ss -o state established '( dport = :ssh or sport = :ssh )'

Display all established ssh connections.

ss -x src /tmp/.X11-unix/*

Find all local processes connected to X server.

ss -o state fin-wait-1 '( sport = :http or sport = :https )' dst 193.233.7/24

List all the tcp sockets in state FIN-WAIT-1 for our apache to network 193.233.7/24 and look at their timers.

ss -a -A 'all,!tcp'

List sockets in all states from all socket tables but TCP.

Syntax

ss [options] [ FILTER ]

Optionen

Parameter

Umgebungsvariablen

Exit-Status

Konfiguration

Dateien

Sicherheit

Dokumentation

RFC

  1. RFC 793 - https://tools.ietf.org/rfc/rfc793.txt (TCP states)

Man-Pages

  1. SS(8)

Info-Pages

Siehe auch

  1. ip(8)

Links

Projekt-Homepage

Weblinks

Einzelnachweise

Testfragen

Testfrage 1

Antwort1

Testfrage 2

Antwort2

Testfrage 3

Antwort3

Testfrage 4

Antwort4

Testfrage 5

Antwort5