Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Reopen file when contents changed?

by Fletch (Bishop)
on Jun 07, 2005 at 14:17 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2024-04-24 16:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found