[Tfug] Purging the Linux Cache

slvrbeard slvrbeard at cox.net
Fri Apr 18 02:00:09 MST 2008


A. Chris Hilton wrote:
> >From 2.6.16 on you can do this with /proc/sys/vm/drop_caches.
>
> 1 free pagecache
> 2 free dentries and inodes
> 3 free pagecache, dentries and inodes
>
> Run sync first and set the value back to 0 when you are finished.
>
> -C-
>
>   
>> Is there any way to purge the Linux cache?  I find no Linux utilities or
>> header files.
>>
>>
>> free
>>              total       used       free     shared    buffers     cached
>> Mem:        516240     398852     117388          0      31992     294308
>> -/+ buffers/cache:      72552     443688
>> Swap:      2064304         24    2064280
>>
>>
>> Felix in Tucson
>>
>>
>>
>> _______________________________________________
>> Tucson Free Unix Group - tfug at tfug.org
>> Subscription Options:
>> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
>>
>>
>>     
>
>
>
> _______________________________________________
> Tucson Free Unix Group - tfug at tfug.org
> Subscription Options:
> http://www.tfug.org/mailman/listinfo/tfug_tfug.org
>
>   
Would someone please tell me how to cancel this newsgroup.  I would 
really appreciate it.

Thank you

Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tfug.org/pipermail/tfug_tfug.org/attachments/20080418/62b00e87/attachment-0002.html>


More information about the tfug mailing list