in reply to Those fork()ing flock()ers...
I guess this might have even better performance (caching can occur between writes and log lines are definitely not going to be cut by each other).
Later on, after processing is done, you can either merge all the files in a single one or process the individual files.
Depending on your actual application, this approach might be faster than doing syswrite() each time.
Good luck.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Those fork()ing flock()ers...
by ferrency (Deacon) on Dec 05, 2001 at 19:42 UTC |