[dtrace-discuss] How to use Dtrace to fire a probe when I write/modify a file?

Dan Mick dan.mick at sun.com
Wed Jan 24 21:17:24 PST 2007


jack wrote:
> Hi, 
> 
> I tried many way to fire a probe whenver a file has been write or modify (IO Write)  on Solaris, the problem with most of them is that I'm getting too many system write calls that are firing the probes, 
> 
> is there a clean way to fire the probe only when the user is writing to a file, and avoid system writes. 
> 
> Thanks.

Well, you can qualify it by process id(s) or user id(s)...


More information about the dtrace-discuss mailing list