I would know is there any way to inspect/intercept IO operations on FreeBSD.
Like ktrace but if I don't know the process (which takes some big time for example).
Freebsd – Inspect IO operations on FreeBSD system
freebsdhookiotrace
freebsdhookiotrace
I would know is there any way to inspect/intercept IO operations on FreeBSD.
Like ktrace but if I don't know the process (which takes some big time for example).
Best Answer
For monitoring and performance analysis, you have a very powerful semi-programmable tool called dtrace.
dtrace allows to build command line or small programs that will allow you to follow must of the system calls.
It is somewhat powerful and complex. and you can find some examples around including a very interesting book Systems Performance: Enterprise and the Cloud
From the DTrace Tools page: