views:

36

answers:

1

I would like to see what is in the cache at any given time. Is there a way to check what's in the cache?

+1  A: 

Use the kernel debugger with the !filecache command.

Moron
How exactly would I go about doing that? I went to http://www.microsoft.com/whdc/devtools/debugging/installx86.Mspx and there are a ton of files included with that. Which file should I run? Is the !filecache command a parameter or command I type in once I get within another program?
Brian T Hannan
kdb.exe and yes, once you are inside the debugger. Also, you need to setup the machine to enable kernel debugging. Good luck!
Moron
Kd.exe or Windbg.exe actually :) This isn't going to be easy though; can I ask your scenario?
Paul Betts
Yeah, my scenario is that I'm writing a bunch of files to disk and I'm comparing the write times. I want to make sure that caching is not messing up my test results.
Brian T Hannan