ss

From wikieduonline
Jump to navigation Jump to search

Usage Examples[edit]

Basic[edit]

Display all TCP sockets including process:

  • ss -tap

Display established TCP sockets including process:

  • ss -tp

Display established TCP sockets:

  • ss -t

Display all TCP sockets:

  • ss -ta

Display all UDP sockets:

  • ss -ua

Display all TCP sockets with SELinux security contexts:

  • ss -taz

Advanced[edit]

  • ss -iepn '( sport = :80 )'[2]

Activities[edit]

Related commands[edit]

See also[edit]

Advertising: