You could use an sshloginfile with just the localhost and the number of
processes. Something like this in the file:
4/:

Then change the number in the file and you'll change the number of jobs
next time a job is finished.

-- 
Joe

On Thu, Jan 21, 2021 at 4:52 PM Stuart Anderson <s...@caltech.edu> wrote:

> Is it possible to signal a running parallel process to change the value of
> -P N ?
>
> Currently if I need to change that I use pkill -STOP parallel to stop any
> new jobs from starting and then kill/restart parallel with a new value, but
> it would nice to be able to do that without having to drain the queue (or
> losing stdout/stderr during draining).
>
> P.S. This is fantastic tool, and I wish I had upgraded from xargs years
> ago!
>
> Thanks.
>
> --
> Stuart Anderson
> s...@caltech.edu
>
>
>
>
>

Reply via email to