Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: how to tell if a file is still being modified

by Abigail-II (Bishop)
on Sep 15, 2003 at 21:52 UTC ( [id://291667]=note: print w/replies, xml ) Need Help??


in reply to how to tell if a file is still being modified

I would use fuser. You said you have looked into it, but you don't say why you rejected it. For obvious reasons, you either need to be root, or own the process that's accessing the file though. Alternatively, if your OS supports it, you might use the /proc filesystem, but then you must have the same permissions as fuser (which uses /proc as well). And if you have the license for it, I bet glance/advisor will be able to give you the information as well.

Abigail

  • Comment on Re: how to tell if a file is still being modified

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-20 01:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found