Skip to main content

Any Tools to profile disk IO by filename

2 replies [Last post]
dwormald
Offline
Joined: 2008-05-05

I have a java app that reads/writes many binary files. I'm looking for a tool to give me a breakdown of #of writes and #of reads per hour for each file it writes.
Any ideas?
-Dave

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
peter__lawrey
Offline
Joined: 2005-11-01

You could just record each time you read/write a file and have a counter which resets every hours. Or am I missing something? I am not aware of an external tool which reports this sort of information for Java.
You could try tracing the systems calls with something like pstrace or dtrace but that only works on unix. There might be a similar tool for windows. In any case the tool wouldn't be written in Java as it need to make very low level system calls to monitor this information.
Its not a very common requirement, are you sure you need to know this?

dwormald
Offline
Joined: 2008-05-05

The applicataion is quite large so I cannot change all the source. I have benn having good results with Process Monitor which seems to give me what I need.
Thanks
- dave