Tell me more ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

TOP

Is there any command that by using I can clean the cache in RHEL

I used this command

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

but it didn't work

share|improve this question
define didn't work – warl0ck Dec 15 '12 at 14:30
Means command executed successfully but results didnt changed. Means the Cache Memory remained occupied. – Umair Mustafa Dec 15 '12 at 14:34
4  
What's wrong with having something cached? It could speed up access to the cached data. – ott-- Dec 15 '12 at 14:43
1  
What problem are you trying to solve? – jippie Dec 15 '12 at 14:59

1 Answer

up vote 2 down vote accepted

Try sync; echo 1 > /proc/sys/vm/drop_caches.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.