Network - netstat & ss: Difference between revisions
Jump to navigation
Jump to search
m (Michael Kohler moved page Netstat & ss Commands to Network - netstat & ss without leaving a redirect) |
No edit summary |
||
| Line 2: | Line 2: | ||
|+ Caption text | |+ Caption text | ||
|- | |- | ||
! netstat !! ss !! ip !! description | ! <tt>netstat</tt> !! <tt>ss</tt> !! <tt>ip</tt> !! <tt>description</tt> | ||
|- | |- | ||
| netstat -t || ss -t || n/a || Display TCP sockets | | <tt>netstat -t</tt> || <tt>ss -t</tt> || <tt>n/a</tt> || <tt>Display TCP sockets</tt> | ||
|- | |- | ||
| netstat -r || n/a || ip route || Display route information | | <tt>netstat -r</tt> || <tt>n/a</tt> || <tt>ip route</tt> || <tt>Display route information</tt> | ||
|- | |- | ||
| netstat -i || n/a || ip -s link || Display link information | | <tt>netstat -i</tt> || <tt>n/a</tt> || <tt>ip -s link</tt> || <tt>Display link information</tt> | ||
|- | |- | ||
| netstat -a || ss || n/a || Display all connections | | <tt>netstat -a</tt> || <tt>ss</tt> || <tt>n/a</tt> || <tt>Display all connections</tt> | ||
|- | |- | ||
| netstat -antpu || ss -antpu || n/a || Display all connections with corresponding process | | <tt>netstat -antpu</tt> || <tt>ss -antpu</tt> || <tt>n/a</tt> || <tt>Display all connections with corresponding process</tt> | ||
|} | |} | ||
Latest revision as of 19:23, 2 April 2026
| netstat | ss | ip | description |
|---|---|---|---|
| netstat -t | ss -t | n/a | Display TCP sockets |
| netstat -r | n/a | ip route | Display route information |
| netstat -i | n/a | ip -s link | Display link information |
| netstat -a | ss | n/a | Display all connections |
| netstat -antpu | ss -antpu | n/a | Display all connections with corresponding process |