search for: fop_open

Displaying 2 results from an estimated 2 matches for "fop_open".

Did you mean: fops_open
2006 May 09
1
Dtrace Script to find instances of a file
hi, i need to find out no of times a file has been opened,but not yet closed. i mean if a file has been opened for 2 times ,one for reading and another for writing and the file has not been closed,the script should display the count of total opens and also to check wheather it has been closed r not. This message posted from opensolaris.org
2008 Apr 20
1
dtrace script to monitor file access
A user has asked us to find out who is changing one of their files and how it is being changed. I came up with the script below: #!/usr/sbin/dtrace -s #pragma D option quiet BEGIN { printf("\n Timestamp gid uid pid ppid execname function current directory file name\n\n"); } syscall::open:entry,