sync did not flush the buffers..also the file cache is at about 136 megs. Under top it is labled as 136587k cached that is what i am looking to clear out. Also how do i turn the swap back on? I am doing this as the various echo commands have still not completly fixed the kernel swapping bug..:( Dag Wieers wrote: > 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] > -- My "Foundation" verse: Isa 54:17 No weapon that is formed against thee shall prosper; and every tongue that shall rise against thee in judgment thou shalt condemn. This is the heritage of the servants of the LORD, and their righteousness is of me, saith the LORD. -- carpe ductum -- "Grab the tape"