If I run a command with nice
, then I can see its process having the expected niceness value:
In one terminal:
nice sleep 17
and in another one:
$ ps -aoni,comm | grep sleep
10 sleep
But trying to do the same with GNU parallel (version 20161222, Debian 9.3), I fail:
parallel --nice 10 sleep ::: 17
$ ps -aoni,comm | grep sleep
0 sleep
I am probably missing something obvious, but what ?
update: perhaps it is just a bug, because it worked with older versions...
parallel
user). Good! – Kusalananda Feb 06 '18 at 08:32