SG0-001 · Question #491
Which of the following commands is BEST used to determine network performance on a system running UNIX/Linux?
The correct answer is A. netstat. On UNIX/Linux systems, netstat is the best command for determining network performance as it provides comprehensive statistics on network connections, routing tables, and interface activity.
Question
Which of the following commands is BEST used to determine network performance on a system running UNIX/Linux?
Options
- Anetstat
- Broute
- Carp
- Difconfig
How the community answered
(39 responses)- A87% (34)
- B3% (1)
- C8% (3)
- D3% (1)
Why each option
On UNIX/Linux systems, netstat is the best command for determining network performance as it provides comprehensive statistics on network connections, routing tables, and interface activity.
The netstat command (network statistics) is best for network performance analysis because it provides detailed information on active network connections, listening ports, routing tables, and per-interface statistics like packets sent, received, errors, and dropped packets. This comprehensive data allows administrators to identify bottlenecks, packet loss, and overall network health.
The route command is primarily used for displaying or modifying the IP routing table, which determines how network traffic is forwarded, but it does not provide direct metrics related to network performance like packet errors or throughput.
The arp command is used to display and manage the Address Resolution Protocol (ARP) cache, which maps IP addresses to MAC addresses, and is not designed for assessing network performance metrics.
While ifconfig (or ip a) provides basic network interface statistics like total packets sent/received and errors, netstat offers a more in-depth view of network activity, including protocol statistics, active connections, and open ports, making it superior for diagnosing performance issues.
Concept tested: UNIX/Linux network performance monitoring commands
Source: https://linux.die.net/man/8/netstat
Topics
Community Discussion
No community discussion yet for this question.