Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: File opened/closed in Windows.

by Marza (Vicar)
on Mar 17, 2006 at 01:54 UTC ( [id://537365]=note: print w/replies, xml ) Need Help??


in reply to Re^2: File opened/closed in Windows.
in thread File opened/closed in Windows.

Only one file? If that is the case; I don't think filemon is the way to go as it logs the filesystem so that is many opens and closes you have to contend with.

This sounds like a security issue? Have you thought about running a service and a routine to do that?

You could look at Roths Dirmon script and get an idea. This script monitors a directory for adds and deletes.

May not be what you are looking for but I think filemon will be a moster if I understand what you are after. We have used filemon but we ran it and greped out the stuff we wanted.....

Replies are listed 'Best First'.
Re^4: File opened/closed in Windows.
by Ace128 (Hermit) on Mar 17, 2006 at 06:30 UTC
    Thanks, but I get to know when a file is new/deleted/modified with the Win32::AdvNotify or Win32::ReadDirectoryChanges. I wanna know when a file is opened and/or closed. Seems like I have to do this the hard way, and figure it out myself using Filemon and google... ;)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://537365]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-19 18:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found