LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-02-2008, 04:55 AM   #1
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Rep: Reputation: 31
Clearing cache memory


As suggested here: http://www.linuxinsight.com/proc_sys...op_caches.html ,

Cache memory can be cleared using:
echo 3 > /proc/sys/vm/drop_caches

But "/proc/sys/vm/" has read only permissions even for root.

How can I create the concerned file......???/
 
Old 12-02-2008, 05:09 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,441

Rep: Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066
Quote:
Originally Posted by paragkalra View Post
How can I create the concerned file......???/
You can't. Fortunately.
Did you read the whole article ?
Quote:
This tunable was added in 2.6.16.
What is your kernel level.
 
Old 12-02-2008, 05:14 AM   #3
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Original Poster
Rep: Reputation: 31
hmm.....BTW my Kernel is 2.6.9-42.ELsmp...so is there any other way to clear the cached memory that is displayed by "free -m" ??
 
Old 12-02-2008, 05:22 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,441

Rep: Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066Reputation: 1066
Indirectly perhaps.
What say you describe the problem you believe you have rather than attacking a potentially irrelevant possible symptom.
 
  


Reply

Tags
cache, echo, memory, read


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Erasing logs/Clearing Cache SaraiKhan Linux - Security 17 11-29-2008 07:53 PM
clearing CD cache grayFalcon Programming 1 09-21-2006 05:55 PM
clearing cache, web cache on linux varunbihani Linux - General 2 12-08-2005 01:02 PM
DNS cache clearing n.antonio Linux - Software 0 05-11-2003 09:44 PM
clearing cache waxiem Linux - General 1 03-02-2003 10:42 AM


All times are GMT -5. The time now is 01:50 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration