NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Import timeout(1) from FreeBSD
In article
<trinity-4cc9f7c8-a188-4131-922b-b4afca596bc9-1406458716813@3capp-mailcom-bs15>,
Kamil Rytarowski <n54%gmx.com@localhost> wrote:
>Hello,
>Â
>The FreeBSD team produced BSD-licensed timeout(1).
>Â
>Sources http://svnweb.freebsd.org/base?view=revision&revision=268745
>Production https://phabric.freebsd.org/D377
>Â
>Is it a good idea to import their result into our base trees?
>This tool will make my life easier, my use case is doing tests of a
>certain executable, grab results logs from a certain time (like 1-60
>sec) and then repeat N times. I was using subshells, transfering PID and
>then using the kill(1) command.
>Â
>Some utilities contain a timeout option, but it won't necessarily help
>if a process hangs.
>
>My goal is not to find a walk-around using chain of existing tools (so
>increasing burden in shell scripts), but make life easier taking this
>specialized tool.
>Â
>With regards.
LGTM... What do others think?
christos
Home |
Main Index |
Thread Index |
Old Index