Difference between revisions of "Ss"

From wikieduonline
Jump to navigation Jump to search
Line 7: Line 7:
 
Display all [[UDP]] sockets:
 
Display all [[UDP]] sockets:
 
* <code>ss -ua</code>
 
* <code>ss -ua</code>
 +
Display all [[TCP]] sockets with [[SELinux]] security contexts:
 +
* <code>ss -taz</code>
  
 
== See also ==
 
== See also ==

Revision as of 14:35, 8 December 2019

ss[1] Linux command included in the iproute2 package to display sockets information.


Usage Examples

Display all TCP sockets:

  • ss -ta

Display all UDP sockets:

  • ss -ua

Display all TCP sockets with SELinux security contexts:

  • ss -taz

See also

ip [link, route], ifconfig netstat ss lsof ping ethtool mii-tool arping nmcli(RHEL) route networkctl, netplan, tc

Advertising: