Difference between revisions of "Ss"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(3 intermediate revisions by 2 users not shown)
Line 28: Line 28:
 
* <code>[[lsof]]</code>
 
* <code>[[lsof]]</code>
 
* <code>[[netstat]]</code>
 
* <code>[[netstat]]</code>
* ss -a|grep :[[nfs]]
+
* <code>ss -a|grep :[[nfs]]</code>
 +
* <code>[[ss -nap]]</code>
 +
* <code>[[ss -tpln]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{ss}}
 
* {{Linux networking commands}}
 
* {{Linux networking commands}}
  

Latest revision as of 07:54, 14 March 2023

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


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]

  • http://man7.org/linux/man-pages/man8/ss.8.html
  • https://unix.stackexchange.com/questions/542712/detailed-output-of-ss-command
  • Advertising: