On Thursday 15 September 2005 00:51, Paul Jarc wrote:
> Denis Vlasenko <[EMAIL PROTECTED]> wrote:
> > The problem is that svc -d (or manual kill -TERM)
> > kills bash but nmeter and logger continue to run,
> > until I kill nmeter manually.
>
> It's best not to put a long-running pipeline in a daem
On Thursday 15 September 2005 00:51, Paul Jarc wrote:
> Denis Vlasenko <[EMAIL PROTECTED]> wrote:
> > The problem is that svc -d (or manual kill -TERM)
> > kills bash but nmeter and logger continue to run,
> > until I kill nmeter manually.
>
> It's best not to put a long-running pipeline in a daem
Denis Vlasenko <[EMAIL PROTECTED]> wrote:
> The problem is that svc -d (or manual kill -TERM)
> kills bash but nmeter and logger continue to run,
> until I kill nmeter manually.
It's best not to put a long-running pipeline in a daemontools run
script, for just this reason (among others). Instead,
Denis Vlasenko wrote:
> Hi!
>
> I want to run this script continuously under supervise
> (a tool for daemontools package):
>
> user=daemon
> exec env - \
> softlimit \
> setuidgid "$user" \
> nmeter t c l i p lf b nifi nife d6' \
> | logger -t ''
>
> nmeter prints lines like this:
>
> 14:31
Hi!
I want to run this script continuously under supervise
(a tool for daemontools package):
user=daemon
exec env - \
softlimit \
setuidgid "$user" \
nmeter t c l i p lf b nifi nife d6' \
| logger -t ''
nmeter prints lines like this:
14:31:00 [UU] int 63k f 100 bio 96k 11M ifi 8