A Linux systems administrator is investigating reports of slow application response times. The application server's CPU usage is normal, and local disk I/O, checked with iostat, shows minimal activity. The administrator determines that all application data is read from and written to an NFSv4 share mounted at /mnt/appdata. Which of the following commands would be most effective for gathering specific I/O statistics for the remote NFS mount to diagnose the slow response?
The correct answer is nfsiostat. This command is specifically designed to monitor I/O on mounted NFS filesystems, providing key performance metrics like operations per second, throughput (kB/s), and average latency (RTT) for read and write operations. Given that local CPU and disk performance are normal, the issue is likely related to the network storage, making nfsiostat the most direct and effective tool for this scenario. iostat -x provides extended I/O statistics, but primarily for local block devices, not specifically for NFS mounts. netstat -s displays summary statistics for various network protocols (TCP, UDP, IP), which is too general and does not provide per-mount I/O details. df -h shows the disk space usage of filesystems in a human-readable format, but provides no performance metrics.
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 is NFSv4 and how does it differ from other versions of NFS?
Open an interactive chat with Bash
What specific metrics does the `nfsiostat` command provide?
Open an interactive chat with Bash
Why is `iostat -x` not suitable for troubleshooting NFS performance?
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