312-49 · Question #564
Netstat is a tool for collecting information regarding network connections. It provides a simple view of TCP and UDP connections, and their state and network traffic statistics. Which of the…
The correct answer is B. netstat ?ano. 'netstat -ano' combines three flags: '-a' displays all active TCP/UDP connections and listening ports; '-n' shows IP addresses and port numbers in numerical form instead of resolving hostnames; '-o' appends the owning Process Identifier (PID) for each connection. Together these…
Question
Netstat is a tool for collecting information regarding network connections. It provides a simple view of TCP and UDP connections, and their state and network traffic statistics. Which of the following commands shows you the TCP and UDP network connections, listening ports, and the identifiers?
Options
- Anetstat ?r
- Bnetstat ?ano
- Cnetstat ?b
- Dnetstat ?s
How the community answered
(36 responses)- A3% (1)
- B94% (34)
- C3% (1)
Explanation
'netstat -ano' combines three flags: '-a' displays all active TCP/UDP connections and listening ports; '-n' shows IP addresses and port numbers in numerical form instead of resolving hostnames; '-o' appends the owning Process Identifier (PID) for each connection. Together these flags provide a complete view of all network connections, their states, and the process IDs responsible - essential for incident response. '-r' shows the routing table, '-b' shows the executable involved (requires elevation), and '-s' shows per-protocol statistics.
Topics
Community Discussion
No community discussion yet for this question.