Snipt.net is closing on December 31st, 2016

For more information, please visit this blog post.

snipt

Ctrl+h for KB shortcuts

Bash

Show processes sorted by RSS (resident set size)

ps -e -orss=,pid=,args= | sort -b -k1,1n | pr -TW$COLUMNS
https://snipt.net/embed/81842f43c1ce9bd8a79c60d22078c2a7/
https://snipt.net/raw/81842f43c1ce9bd8a79c60d22078c2a7/
81842f43c1ce9bd8a79c60d22078c2a7
bash
Bash
1
2016-12-08T06:24:15
True
False
False
/api/public/snipt/5010/
show-processes-sorted-by-rss-resident-set-size
<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></span><span id="L-1"><a name="L-1"></a>ps -e -orss<span class="o">=</span>,pid<span class="o">=</span>,args<span class="o">=</span> <span class="p">|</span> sort -b -k1,1n <span class="p">|</span> pr -TW<span class="nv">$COLUMNS</span> </span></pre></div> </td></tr></table>
bash, pid, pr, ps, rss, sort
Copyrighted, illegal, or inappropriate content? Email [email protected].