Philip Rowlands [EMAIL PROTECTED] wrote:
I'd be happy to learn if there's something else already in common
use.
Probably not too common, but there is this:
URL:http://cr.yp.to/daemontools/softlimit.html
The -t option limits CPU time, though, not wall-clock time. How would
you limit wall-clock
[EMAIL PROTECTED] (Paul Jarc) writes:
How would
you limit wall-clock time? Schedule SIGALRM with setitimer and then
exec the given command?
I've long used a command of my own called 'alarm' that just does that.
However, this strategy doesn't always work well if the command has
subprocesses,
Paul Eggert [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] (Paul Jarc) writes:
How would you limit wall-clock time? Schedule SIGALRM with
setitimer and then exec the given command?
I've long used a command of my own called 'alarm' that just does that.
However, this strategy doesn't always work
On Mon, 28 Jun 2004, Paul Jarc wrote:
How would you limit wall-clock time? Schedule SIGALRM with
setitimer and then exec the given command?
I've long used a command of my own called 'alarm' that just does that.
However, this strategy doesn't always work well if the command has
What:
timeout, executes the sub-command a-la GNU time/nice, but takes
arguments to control the amount of wallclock time the process is
allowed.
Why:
- ulimit for real time
- No current util (GNU or otherwise) widely distributed (AFAIK)
- Useful in scripting, particularly with network apps
I was