[dtrace-discuss] How to monitor any access to a specific file using
drace
David Chen
xinchen at lucent.com
Sun Jan 21 23:59:28 PST 2007
Hi dtrace experts,
I'm a newbie of dtrace, currently I meet a problem about how to monitor any access(maybe vi, cat, more, rm, cp, ls, even from process, etc) to a specific file, and then log the access info (user id/process id, date and time, command).
I tried "iosnoop" in dtrace toolkits but seems only "vi" operation is detected, can anyone provide some suggestion?
thanks!
This message posted from opensolaris.org
More information about the dtrace-discuss
mailing list