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” 

 

 

 

About these ads
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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 140 other followers

%d bloggers like this: