[c-nsp] N5K (vm.drop_caches)
Andrew Miehs
andrew at 2sheds.de
Tue May 14 06:44:23 EDT 2013
Google is your friend...
https://www.kernel.org/doc/Documentation/sysctl/vm.txt
drop_caches
Writing to this will cause the kernel to drop clean caches, dentries and
inodes from memory, causing that memory to become free.
To free pagecache:
echo 1 > /proc/sys/vm/drop_caches
To free dentries and inodes:
echo 2 > /proc/sys/vm/drop_caches
To free pagecache, dentries and inodes:
echo 3 > /proc/sys/vm/drop_caches
As this is a non-destructive operation and dirty objects are not freeable, the
user should run `sync' first.
On Tue, May 14, 2013 at 7:55 PM, Manu Chao <linux.yahoo at gmail.com> wrote:
> Any idea about this vm.drop.cache syslog message on Nexus 5548:
>
>
> %AUTHPRIV-5-SYSTEM_MSG: root : TTY=console ;
> PWD=/var/sysmgr/sysmgr-subproc ; USER=root ; COMMAND=/sbin/sysctl -q -w
> vm.drop_caches=3 - sudo
>
>
> Any help will be appreciate
> _______________________________________________
> cisco-nsp mailing list cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>
More information about the cisco-nsp
mailing list