Linux Track NFS Directory / Disk I/O Stats

by Vivek Gite · 1 comment

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.

Featured Articles:

Want to read Linux tips and tricks, but don't have time to check our blog everyday? Subscribe to our daily email newsletter to make sure you don't miss a single tip/tricks. Subscribe to our weekly newsletter here!

{ 1 comment… read it below or add one }

1 Richard 03.21.08 at 8:54 am

cat /proc/net/rpc/nfsd and nfsstat for a basic informations.
The project munin draw graphs for nfs client, nfsd, iostats, …
http://munin.projects.linpro.no/

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous FAQ:

Next FAQ:

nixCraft FAQ PDF Collection Now Available To All