Clear/Free/Remove Cache memory from Linux Server

wordpress Hosting

Clear/Free/Remove Cache memory from Linux Server

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please use belwo command to clear Cache memory from Linux Server

free -m

echo 1 > /proc/sys/vm/drop_caches

=======

eg :
BEFORE :
root@lnx [~]# free -m
total used free shared buffers cached
Mem: 12001 11614 386 0 2026 6996
-/+ buffers/cache: 2592 9409
Swap: 1907 0 1907

root@lnx [~]# echo 1 > /proc/sys/vm/drop_caches

AFTER :
root@lnx [~]# free -m
total used free shared buffers cached
Mem: 12001 2796 9205 0 5 390
-/+ buffers/cache: 2401 9600
Swap: 1907 0 1907

=========


Cpanel Hosting