While an application is running, I can monitor disk bandwidth usage using linux tools including dstat.

Now I'd like to know how many sequential or random disk I/Os are occurring in the system.

Does any one know any ways to achieve this?


Ypu can write your own FUSE filesystem (what you can do using almost any scripting/programming language, even bash) , that would just proxy filesystem calls to pointed filesystem (and eventually translate paths) plus monitor what you minght want to monitor.

Otherwise you might investigate output of strace for programs performing I/O calls ofninterest, if possible.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.