Re: STOP/CONT parallel

2014-10-06 Thread Bruno Lucas
Hi, Niceload works fine, but just with the 'final' PID. When running bash scripts within bash scripts, providing only the parent's PID dosen't seem to stop the 'final' worker that is actually using the CPU. On Fri, Oct 3, 2014 at 9:44 AM, Bruno Lucas wrote: > Thanks for the tip. I will take a lo

Re: STOP/CONT parallel

2014-10-06 Thread Ole Tange
On Mon, Oct 6, 2014 at 12:14 PM, Bruno Lucas wrote: >> On Thu, Oct 2, 2014 at 2:32 PM, Ole Tange wrote: >>> >>> niceload is distributed with GNU Parallel, so you already have it >>> installed. >> > Niceload works fine, but just with the 'final' PID. When running bash > scripts within bash scripts

Re: STOP/CONT parallel

2014-10-06 Thread Bruno Lucas
Ok, I'll try to. if you launch a.sh (see below) and then issue the command (from another console) "kill -s SIGSTOP ", then a.sh is stopped (shows T state), but b.sh and c.sh continue to run. Cheers, BL # a.sh ### #!/bin/bash echo $$ ( bash b.sh ) & wait ### b.sh ###

Re: STOP/CONT parallel

2014-10-06 Thread Ole Tange
On Mon, Oct 6, 2014 at 5:21 PM, Bruno Lucas wrote: > On Mon, Oct 6, 2014 at 3:56 PM, Ole Tange wrote: >> >> On Mon, Oct 6, 2014 at 12:14 PM, Bruno Lucas wrote: >> >> On Thu, Oct 2, 2014 at 2:32 PM, Ole Tange wrote: >> >>> >> >>> niceload is distributed with GNU Parallel, so you already have it