Operating System - HP-UX
1830050 Members
23272 Online
109998 Solutions
New Discussion

Finding out what's in buffer cache

 
SOLVED
Go to solution
Alex Georgiev
Regular Advisor

Finding out what's in buffer cache

Is anyone aware of a utility that will show me what files (or parts of files) are in buffer cache?

I don't care for the actual data blocks. I just need a list of inodes + the file system or device id + how many blocks belong to this inode.

If the utility doesn't exist, then maybe you can point me to the kernel data structure that contains this information, so that I can try to write it myself. If you are curious why I need this... A machine that I manage has these database prefetch processes. I'm trying to find out if they are bringing in new blocks into buffer cache, and forcing things out in a hurry. I also need to find out if certain files ever end up in buffer cache or not. And finally, I want this simply for entertainment and educational value.
1 REPLY 1
whiteknight
Honored Contributor
Solution

Re: Finding out what's in buffer cache

Alex,

HP does have a tools called kitrace, you need some knowledge how to read the data.

If you have valid support contract i would recommend you log a case to HP for assistance.

WK
Problem never ends, you must know how to fix it