snipt

Ctrl+h for KB shortcuts

Bash

Free page cache, dentries and inodes on a GNU/Linux machine

sync
echo 3 > /proc/sys/vm/drop_caches
https://snipt.net/embed/549ee73a7450723a4abdca236385c5d3/
https://snipt.net/raw/549ee73a7450723a4abdca236385c5d3/
549ee73a7450723a4abdca236385c5d3
bash
Bash
2
2016-09-28T10:05:46
True
False
False
/api/public/snipt/14941/
free-page-cache-dentries-and-inodes-on-a-gnulinux-machine
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a>sync </span><span id="L-2"><a name="L-2"></a><span class="nb">echo </span><span class="m">3</span> &gt; /proc/sys/vm/drop_caches </span></pre></div> </td></tr></table>
bash, free, memory, ram
Copyrighted, illegal, or inappropriate content? Email support@snipt.net.