Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: rolling over high-traffic logfiles?
- X-seq: zsh-users 1682
- From: Jos Backus <Jos.Backus@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: rolling over high-traffic logfiles?
- Date: Fri, 17 Jul 1998 09:36:32 +0200
- In-reply-to: <19980716221117.A22693@xxxxxxxxxxxxxxxxx>; from Nitin P Garg on Thu, Jul 16, 1998 at 10:11:17PM +0530
- References: <980716082633.ZM15563@xxxxxxxxxxxxxxxxxxxxxxx> <199807161614.RAA32121@xxxxxxxxxxxxxxxx> <19980716221117.A22693@xxxxxxxxxxxxxxxxx>
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