Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: (OT) indexing pdf archive content in a multiuser environment- how do i know when the content changed?

by varian (Chaplain)
on May 26, 2007 at 08:12 UTC ( [id://617659]=note: print w/replies, xml ) Need Help??


in reply to Re: (OT) indexing pdf archive content in a multiuser environment- how do i know when the content changed?
in thread (OT) indexing pdf archive content in a multiuser environment- how do i know when the content changed?

You probably not only want to check file modification time but also make sure that the file is not currently in use being modified.
Usually it is sufficient to leave out files that have changed in the last minute or so. If you need to be absolutely sure that the file is not in use then use a call to *nx command lsof to list open files (needs root privs to work system wide).
  • Comment on Re^2: (OT) indexing pdf archive content in a multiuser environment- how do i know when the content changed?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2024-04-25 04:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found