Clear memory cach in linux

Have you ever been wondering how can you clear your Memory Cache in linux.. ?

Here is the command: (note: run it as root)

$ sync; echo 3 > /proc/sys/vm/drop_caches

Hope it helps ! 🙂

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