Computer Networks/Netstat
Appearance
Netstat
is a command-line tool at least available in Linux and Windows that displays network statistics on most operating systems. These activities will show you how to use the netstat command.
Examples:
- Linux:
netstat -vatunp
. See also:ss -t -a
(included iniproute2
package) - MacOS:
netstat -ap tcp | grep LISTEN
Readings
[edit | edit source]Lessons
[edit | edit source]Activities
[edit | edit source]- Display Active TCP Connections:
netstat
- Display All Active Connections (TCP and UDP)
- Display Statistics by Protocol:
netstat -s