LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 05-04-2010, 01:49 PM   #1
himdemon
LQ Newbie
 
Registered: Jul 2008
Posts: 5

Rep: Reputation: 0
Exclamation drop_caches


Hi All,
I have been using RHEL4 x86_64. I wanted to clear the cache by executing echo 3 > /proc/sys/vm/drop_caches which is missing in the vm folder. Is there anyway I can restore it back using some kind of rpm ?
Any comment would be of much help.
Thanks in advance
 
Old 05-04-2010, 02:44 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
No, it's part of the kernel access, so it's not installable or deletable. The standard rhel4 kernels all support it, or at least all the ones I have used, so it really should be there. What kernel version are you running? Can you show us the contents of vm?
 
Old 05-05-2010, 12:07 AM   #3
himdemon
LQ Newbie
 
Registered: Jul 2008
Posts: 5

Original Poster
Rep: Reputation: 0
I am using the kernel version 2.6.9-42.ELsmp.

$ ls /proc/sys/vm/
block_dump dirty_ratio laptop_mode max_map_count nr_hugepages overcommit_memory percpu_pagelist_fraction dirty_background_ratio dirty_writeback_centisecs legacy_va_layout max_queue_depth nr_pdflush_threads overcommit_ratio swappiness dirty_expire_centisecs hugetlb_shm_group lower_zone_protection min_free_kbytes oom-kill page-cluster vfs_cache_pressure
 
Old 05-05-2010, 08:31 AM   #4
himdemon
LQ Newbie
 
Registered: Jul 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Any luck ?
 
  


Reply



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
kernel 2.6.9-89.0.9.ELsmp related question - drop_caches amit shukla Linux - Kernel 2 10-10-2009 09:22 PM
/proc/sys/vm/drop_caches sulekha Ubuntu 4 12-06-2008 03:38 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 03:08 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration