Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Having several processes share a logfile

by davido (Archbishop)
on Jan 03, 2013 at 03:45 UTC ( #1011385=note: print w/replies, xml ) Need Help??


in reply to Having several processes share a logfile

The POD for flock demonstrates how to obtain an advisory lock, and then seek to the EOF before appending. The example is pretty simple. Look at over and I'm sure it will make sense.


Dave

  • Comment on Re: Having several processes share a logfile

Replies are listed 'Best First'.
Re^2: Having several processes share a logfile
by ibm1620 (Scribe) on Jan 03, 2013 at 22:21 UTC
    This is what I ended up doing - easy enough for development. Thanks! Chap

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011385]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2016-12-07 17:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (130 votes). Check out past polls.