[Centos] cache flush command
    Dag Wieers 
    dag at wieers.com
       
    Tue Sep 28 00:36:23 UTC 2004
    
    
  
On Mon, 27 Sep 2004, William Warren wrote:
> is there a CLI command you can pass to a linux system(specifically CentOS 3)
> that will force it to flush the memory file cache and/or swap file without
> rebooting?
If you want to flush the filesystem buffers, try:
	sync
If you want to get rid of your swap, you could try:
	swapoff -a
But make sure you have sufficient physical memory to do that.
If this was not what you asked for, please rephrase :)
--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]
    
    
More information about the CentOS
mailing list