It's my understanding (although I haven't read the source) that the OS
will make it available whenever it needs it. When you sync, the
buffers get flushed to disk, but the data still remains in the memory
also in case you need to read it again. If a process needs more
memory, it can "overwrite" the buffers that have been flushed w/o any
extra work to write to disk. So basically, you don't want it to
"clear" the memory since you may want to do a "read" again and there's
not point in the memory sitting there unused.
Dave
> From: "Thang Nguyen" <[EMAIL PROTECTED]>
>
> Hi Dave,
>
> Sorry to make you misunderstand. I meant the RAM/SWAP buffered and cache
> since sync only clear the filesystem buffer. like when you use the system,
> you have like 200 megs of memory (RAM) and it ate up and only like 1meg
> available and I want to clear it up so there are more can be available for
> the system. I understand it will eventually clear itself sometime, but I
> still don't get the mechanism of how that work on Linux, I can't picture it
>:(.
>
> when you type "top" look at the top right hand corner which show how many of
> your memory are buffered. and cached it includes the swap as well.
>
> Thanks
> Thang
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Dave Reed
> Sent: Thursday, March 01, 2001 1:27 PM
> To: [EMAIL PROTECTED]
> Subject: Re: RedHat Cached and Buffered Refreshing.
>
>
> > X-Authentication-Warning: halden.devel.redhat.com: teg set sender to
> [EMAIL PROTECTED] using -f
> > Organization: Red Hat, Inc.
> > From: [EMAIL PROTECTED] (Trond Eivind =?iso-8859-1?q?Glomsr=F8d?=)
> >
> > "Thang Nguyen" <[EMAIL PROTECTED]> writes:
> >
> > > Can anyone tell me what's the manual command or how manually
> refreshing
> > > the Buffered and Cache memory from the system?
> >
> > What do you mean?
> >
> > --
> > Trond Eivind Glomsrød
> > Red Hat, Inc.
>
> Is "sync" what you're looking for?
>
> Dave
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list