Results 1 to 1 of 1
Thread: Logging File Descriptor access
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- May 2009
Logging File Descriptor access
I am trying to profile an application and I want to collect how often it accesses its File Descriptors (in write and read) and how much data is transferred every time. I was wondering if there is any way to track down that information in Linux.
I guess I can always run a script that checks the directory /proc/PID/fdinfo looking for changes but it was wondering if there is a better way (like having the kernel print out some logs about its activities).