Pages

Linux Track NFS Directory / Disk I/O Stats


Q. How do I track NFS client metrics (disk I/O) under Linux operating system?


A. The iostat command is used for monitoring system input/output device loading by observing the time the devices are active in relation to their average transfer rates. The iostat command generates reports that can be used to change system configuration to better balance the input/output load between physical disks. The -n option displays the NFS-directory statistic. Data displayed are valid only with kernels 2.6.17 and newer. This option is exclusive to the -x option:

# iostat -x –n

OR

# iostat –n

Related: How to find out CPU and Disk utilization under Linux using iostat command.