snipt

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

Text only

Linux renice all java processes

ps fax | grep java | awk '{print $1;}' | xargs renice -n 19
https://snipt.net/embed/d8118159753138d887723bfd65b14f1e/
https://snipt.net/raw/d8118159753138d887723bfd65b14f1e/
d8118159753138d887723bfd65b14f1e
text
Text only
1
2014-04-16T03:40:46
True
False
Mar 18, 2014 at 06:33 AM
/api/public/snipt/122719/
linux-renice-all-java-processes
<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>ps fax | grep java | awk &#39;{print $1;}&#39; | xargs renice -n 19 </span></pre></div> </td></tr></table>
java, linux, renice