Skip to content

Clear memory cache in linux

The below command will remove cache memory

 sudo sh -c “sync; echo 3 > /proc/sys/vm/drop_caches” 

 

 

 

One Comment Post a comment
  1. kyaw.thu.soe@gmail.com #

    [root@PCE-DCMS vm]#
    [root@PCE-DCMS vm]# sh drop_caches
    drop_caches: line 1: 0: command not found
    [root@PCE-DCMS vm]#
    Please , kindly advise me .. I can’t run that file.

    December 18, 2013

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: