Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: rolling over high-traffic logfiles?



On Thu, Jul 16, 1998 at 10:11:17PM +0530, Nitin P Garg wrote:
> how about making the file a named pipe ? 
> then a process could simply read from it and write to a somefile.date and the
> reading process could simply keep changing .date part as frequent as one
> programs it to.

Tbis is what fifo and cyclog (part of Dan Bernstein's daemontools package, see
http://www.pobox.com/~djb/daemontools.html) do.

-- 
Jos Backus                          _/  _/_/_/    "Reliability means never
                                   _/  _/   _/     having to say you're sorry."
                                  _/  _/_/_/               -- D. J. Bernstein
                             _/  _/  _/    _/
Jos.Backus@xxxxxxxxxxxxxxxx  _/_/   _/_/_/        use Std::Disclaimer;



Messages sorted by: Reverse Date, Date, Thread, Author