Re: STOP/CONT parallel

2014-10-02 Thread Ole Tange
On Wed, Oct 1, 2014 at 10:08 AM, Bruno Lucas wrote: > I've start using parallel not so long ago and I must say it does a wonderful > job, thank you. Great to hear. If you like GNU Parallel: * Give a demo at your local user group/team/colleagues * Post the intro videos on Reddit/Diaspora*/forums

Re: STOP/CONT parallel

2014-10-02 Thread Bruno Lucas
I also use CTRL-Z by hand, but I would like to do it in another script (to halt the processing under certain conditions). So far what I've done was to use command that parses pstree output and send kill -s SIGSTOP to all the pids I get (and SIGCONT) to continue. I tried sending SIGTSTP but it does

Re: STOP/CONT parallel

2014-10-02 Thread Ole Tange
On Thu, Oct 2, 2014 at 1:29 PM, Bruno Lucas wrote: > I also use CTRL-Z by hand, but I would like to do it in another script (to > halt the processing under certain conditions). If you are doing it from a script, may I suggest you get inspired by niceload (which does exactly that)? niceload is d