[Centos] cache flush command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxx,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux