Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Reopen file when contents changed?

by Fletch (Bishop)
on Jun 07, 2005 at 14:17 UTC ( #464313=note: print w/replies, xml ) Need Help??


in reply to Reopen file when contents changed?

If you're on a system that supports it it might be more efficient to see if you could use SGI::FAM, or look into wrapping kqueue on a BSD box using Inline::C. That'd let the OS notify you just when it changes.

Update: Oh, just read that you're reading stuff from /proc; never mind as my suggestions probably won't work there.

--
We're looking for people in ATL

Replies are listed 'Best First'.
Re^2: Reopen file when contents changed?
by zebedee (Pilgrim) on Jun 07, 2005 at 20:59 UTC
    Nothing much to do with the original question ...
    I hadn't found about about kqueue before until I browsed this node - looks very useful.

    Thanks!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2022-07-03 11:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?