parallel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Which exit code should --halt give?


From: Martin d'Anjou
Subject: Re: Which exit code should --halt give?
Date: Mon, 04 May 2015 19:04:49 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

On 15-05-04 06:55 PM, Ole Tange wrote:
On Sat, May 2, 2015 at 12:26 PM, Ole Tange <ole@tange.dk> wrote:

--halt soon,fail=XX% == --halt XX%
--halt now,fail=XX%
--halt soon,success=XX%
--halt now,success=XX%

I would imagine the typical situation where % would be used is when
you have lots of jobs. If you have 10000s of jobs the limit of 253
(given by 8-bit and 254+255 reserved) failing jobs will be useless,
but the exit code could be the percentage of failing jobs rounded up
to the nearest integer. So 0% => 0, 0.01% => 1 and 99.99% => 100.



Exit codes 1 and 2 are "reserved".
http://www.tldp.org/LDP/abs/html/exitcodes.html

Martin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]