Difference between revisions of "Netstat -vatunp"
Jump to navigation
Jump to search
Line 22: | Line 22: | ||
− | == Related commands == | + | == Related Linux commands == |
* <code>[[netstat -lnpt]]</code> | * <code>[[netstat -lnpt]]</code> | ||
* <code>[[netstat -tulpen]]</code> | * <code>[[netstat -tulpen]]</code> | ||
+ | |||
+ | == Related macOS commands == | ||
+ | * <code>[[netstat -anp tcp]]</code> | ||
== See also == | == See also == |
Latest revision as of 13:12, 27 November 2023
netstat -vatunp Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 12930/systemd-resol tcp 0 0 192.168.122.1:53 0.0.0.0:* LISTEN 3376/dnsmasq tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2981/sshd tcp 0 196 10.10.110.25:22 10.10.10.67:52541 ESTABLISHED 18866/sshd: USERNAME tcp6 0 0 :::22 :::* LISTEN 2981/sshd udp 0 0 127.0.0.53:53 0.0.0.0:* 12930/systemd-resol udp 0 0 192.168.122.1:53 0.0.0.0:* 3376/dnsmasq udp 0 0 0.0.0.0:67 0.0.0.0:* 3376/dnsmasq
netstat -vatunp Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 1 10.10.10.10:56608 10.10.10.99:23 SYN_SENT
TCP Listening ports, UDP will not be shown:
netstat -vatunp | grep LISTEN
Related Linux commands[edit]
Related macOS commands[edit]
See also[edit]
Advertising: