Dear Ben, System tap is exactly what I was looking for, and more. Ftrace looks promising too, but systemtap has an example script that nearly matches the use case. Thank you for your help. Sean ________________________________________ From: Benjamin Coddington [bcodding@xxxxxxxxxx] Sent: 02 April 2015 20:50 To: Sean Brisbane Cc: linux-nfs@xxxxxxxxxxxxxxx Subject: Re: Per process accounting for nfs On Thu, 2 Apr 2015, Sean Brisbane wrote: > Dear All, > > I'm currently trying to identify a mechanism to measure NFS I/o per process on a multi user NFS client machine. Lots of googling tells me this is not straight forward. Installing a kernel or module is an option if necessary, though we are also supporting afs and lustre on the same kernel (RHEL 6 based). The purpose of this is to gather accurate metrics on the workload types we run to feed into what hardware we need to buy. Can anyone give me any pointers as to how to proceed? > > Thanks, Hi Sean, Systemtap can do that.. and ftrace might also work for that. Check those out. Ben -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html