Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

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

by Abigail-II (Bishop)
on Sep 15, 2003 at 21:52 UTC ( #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
Node Status?
node history
Node Type: note [id://291667]
help
Chatterbox?
[Your Mother]: Corion: I have lost the link to the pmdev guide(s). Do you have that handy?
[karlgoethebier]: Discipulus: see per lop please how to avoid the classic <c>perl dangerous.pl 'rm -rfv *|'</>
[Eily]: karlgoethebier: more like grata non persona :P
Discipulus personae non gratae..
[Corion]: Your Mother: Hmm - I have the pmdev nodelet, which has some links, but I'm not sure what links/guides there are
[Corion]: pmdev wiki maybe?
[Discipulus]: uh neat karl!

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (12)
As of 2017-07-21 08:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (319 votes). Check out past polls.