netstat Switches Flashcards
Windows netstat -a
All open listening ports
Windows netstat -n
Numerical order
Windows netstat -p
Protocol type
Windows netstat -o
Process ID
Windows netstat -b
Process name
Windows netstat -s
Per protocol stats
Windows netstat -e
Ethernet stats
Windows netstat -r
Routing table
Windows netstat -nn
Refresh cycle (in seconds)
Linux netstat -t
TCP
Linux netstat -u
UDP
Linux netstat -w
Raw connections
Linux netstat -x
UNIX sockets/local server
Linux netstat -a
Include listening ports
Linux netstat -l (lowercase L)
Only listening ports
Linux netstat -n
Numerical order
Linux netstat -4
IPv4 only
Linux netstat -6
IPv6 only
Linux netstat -p
Process ID and name
Linux netstat -s
Per protocol stats
Linux netstat -I (uppercase i)
Ethernet stats
Linux netstat -r
Routing table
Linux netstat -c
Continuously refresh