1834162 Members
2604 Online
110064 Solutions
New Discussion

Size of DBC

 
SOLVED
Go to solution
Jeff_Traigle
Honored Contributor

Size of DBC

Glance shows the amount of RAM used for the buffer cache in the Memory Stats screen. Is there any way to determine this for systems that don't have Glance installed? sar -b only gives buffer activity, not size. Nothing in vmstat seems to show it either.
--
Jeff Traigle
7 REPLIES 7
Sridhar Bhaskarla
Honored Contributor
Solution

Re: Size of DBC

Hi,

See if you have /usr/contrib/Q4/bin/kmeminfo. Run it and it should give you buffer cache usage in 'pages'. Multiply with 4 to get the usage in KB.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Sundar_7
Honored Contributor

Re: Size of DBC

You can query the kernel symbol bufpages using adb

# echo "bufpages/D" | adb -k /stand/vmunix /dev/kmem

the output is in pages.
Learn What to do ,How to do and more importantly When to do ?
Tom Danzig
Honored Contributor

Re: Size of DBC

Yet one more way:

sysdef | awk '/bufpages/{printf("%.2f MB\n",$2*.004096)}'
Jeff_Traigle
Honored Contributor

Re: Size of DBC

Cool. Thanks. No kmeminfo on my systems. What bundle would this be a part of? (Of course, I'm working with 11.00 so maybe that's an 11i tool.)
--
Jeff Traigle
Sridhar Bhaskarla
Honored Contributor

Re: Size of DBC

It's part of Q4. You should have gotten with the fileset OS-Core.Q4. This comes with 11.0 and I believe it was there on 10.20 too.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Jeff_Traigle
Honored Contributor

Re: Size of DBC

Hmmm. Ok. This load was put together long before I showed up on the scene. Guess it wasn't something they included in the build.
--
Jeff Traigle
Jeff_Traigle
Honored Contributor

Re: Size of DBC

All done
--
Jeff Traigle