An application server running Ubuntu 22.04 is experiencing random timeouts when it calls a backend service. CPU, memory, and disk I/O all look normal, but a packet capture shows bursts of TCP retransmissions. The administrator suspects packets are being dropped on the server's primary interface (eth0). Which built-in command will most quickly display live RX/TX error and dropped-packet counters for that interface so the hypothesis can be confirmed?
The ip -s link show eth0 command (part of iproute2, installed by default on modern Linux distributions) dumps per-interface statistics, including real-time counters for RX/TX errors and dropped packets. Watching those counters rise while timeouts occur confirms that the NIC or the network path is losing packets. The other commands either give socket summaries, journal messages, or service status information; none of them expose the per-interface error metrics needed to correlate packet loss with the observed timeouts.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What does RX/TX mean in networking?
Open an interactive chat with Bash
What is the purpose of the iproute2 package?
Open an interactive chat with Bash
Why does TCP retransmission indicate packet loss?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
Troubleshooting
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
IT & Cybersecurity Package Join Premium for Full Access