snipt

Ctrl+h for KB shortcuts
Notice: Snipt is moving away from free accounts on May 1st, 2014. Read more about the transition here.
#28221

Bash

Renice a bash shell and all processes launched from it

renice +5 -p $BASHPID
https://snipt.net/embed/50d00cc74b9c47d0332c983c7c5f0efb/
https://snipt.net/raw/50d00cc74b9c47d0332c983c7c5f0efb/
50d00cc74b9c47d0332c983c7c5f0efb
bash
Bash
1
2014-04-24T02:28:09
True
False
/api/public/snipt/28221/
renice-a-bash-shell-and-all-processes-launched-from-it
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a>renice +5 -p <span class="nv">$BASHPID</span> </span></pre></div> </td></tr></table>
cli, nice, pid, shell