Thanks Andrew but NX(OS) is running on top of a specific modified linux kernel we do not have access :(
sync is not available and echo commands doesn't help (error could not open temporary file): N5K# echo 1 > /proc/sys/vm/drop_caches 1 Error: could not open temporary file /bootflash/proc/sys/vm/drop_caches (errno=2)Error: could not open temporary file /bootflash/pro c/sys/vm/drop_caches (errno=2) N5K# echo 2 > /proc/sys/vm/drop_caches 2 Error: could not open temporary file /bootflash/proc/sys/vm/drop_caches (errno=2)Error: could not open temporary file /bootflash/pro c/sys/vm/drop_caches (errno=2) N5K# echo 3 > /proc/sys/vm/drop_caches 3 Error: could not open temporary file /bootflash/proc/sys/vm/drop_caches (errno=2)Error: could not open temporary file /bootflash/pro c/sys/vm/drop_caches (errno=2) :( On Tue, May 14, 2013 at 12:44 PM, Andrew Miehs <[email protected]> wrote: > 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 <[email protected]> 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 [email protected] >> https://puck.nether.net/mailman/listinfo/cisco-nsp >> archive at http://puck.nether.net/pipermail/cisco-nsp/ >> > > _______________________________________________ cisco-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/
