gabriel rosenkoetter on Thu, 19 Jul 2001 16:40:08 -0400


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

Re: [PLUG] purposly emptying the file cache?


On Thu, Jul 19, 2001 at 02:51:37PM -0400, Kyle R . Burton wrote:
> Is there a way to flush the file cache?  bdflush [update] seems to be a
> utility that you can use to manualy cause a flush of dirty buffers
> (sync) to disk, but [from what I've read] it doens't sound like you can
> use it to empty the [read] file cache.

How 'bout just reading sizeof(<buffer cache>) of garbage? (/dev/zero
might be useful to you... or /dev/urandom for that matter.)

-- 
       ~ g r @ eclipsed.net


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug