Difference between revisions of "Ss"
Jump to navigation
Jump to search
↑ http://man7.org/linux/man-pages/man8/ss.8.html
↑ https://unix.stackexchange.com/questions/542712/detailed-output-of-ss-command
Tags: Mobile web edit, Mobile edit |
|||
(17 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <code>ss</code><ref>http://man7.org/linux/man-pages/man8/ss.8.html</ref> Linux command included in the <code>[[iproute2]]</code> package to display [[sockets]] information. | + | {{lc}} |
+ | <code>ss</code><ref>http://man7.org/linux/man-pages/man8/ss.8.html</ref> [[Linux command]] included in the <code>[[iproute2]]</code> package to display [[sockets]] information. | ||
== Usage Examples == | == Usage Examples == | ||
+ | |||
+ | === Basic === | ||
+ | Display all [[TCP]] sockets including process: | ||
+ | * <code>ss -tap</code> | ||
+ | Display established [[TCP]] sockets including process: | ||
+ | * <code>ss -tp</code> | ||
+ | Display established [[TCP]] sockets: | ||
+ | * <code>ss -t</code> | ||
Display all [[TCP]] sockets: | Display all [[TCP]] sockets: | ||
* <code>ss -ta</code> | * <code>ss -ta</code> | ||
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> | ||
+ | |||
+ | === Advanced === | ||
+ | * <code>ss -iepn '( sport = :80 )'</code><ref>https://unix.stackexchange.com/questions/542712/detailed-output-of-ss-command</ref> | ||
+ | |||
+ | == Activities == | ||
+ | * Review StackExchange questions about <code>ss</code>: https://unix.stackexchange.com/questions/tagged/ss?tab=Votes | ||
+ | |||
+ | == Related commands == | ||
+ | * <code>[[lsof]]</code> | ||
+ | * <code>[[netstat]]</code> | ||
+ | * <code>ss -a|grep :[[nfs]]</code> | ||
+ | * <code>[[ss -nap]]</code> | ||
+ | * <code>[[ss -tpln]]</code> | ||
== See also == | == See also == | ||
− | {{Linux networking commands}} | + | * {{ss}} |
+ | * {{Linux networking commands}} | ||
[[Category:Networking]] | [[Category:Networking]] | ||
[[Category:Linux]] | [[Category:Linux]] | ||
+ | [[Category:Linux 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]
- Review StackExchange questions about
ss
: https://unix.stackexchange.com/questions/tagged/ss?tab=Votes
Related commands[edit]
See also[edit]
ss
ip
[link, route]
,ifconfig
netstat
ss
lsof
ping
ethtool
mii-tool
arping
nmcli
(RHEL)route
networkctl
,netplan
,tc
Advertising: