If you use hugepages (and 99% of the case you should be) then Oracle's SGA is not part of cached. On Thu, Oct 21, 2010 at 11:14 AM, Tanel Poder <tanel@xxxxxxxxxx> wrote: > Nice find, Karl. > > My script uses /proc/<pid>/smaps too. It's available since 2.6.16 kernels. > RHEL5 is 2.6.18, so you won't have it in RHEL4 and before... > > Thanks, > Tanel. > > > On Thu, Oct 21, 2010 at 6:07 PM, Karl Arao <karlarao@xxxxxxxxx> wrote: > >> Reminds me of the memtool on lower versions of Solaris >> http://www.solarisinternals.com/si/tools/memtool/index.php >> which is really a nice to have in Linux >> >> Given the issues Tanel mentioned.. I'm using this >> http://www.pixelbeat.org/scripts/ps_mem.py script to give me an estimate >> >> >> -- >> Karl Arao >> karlarao.wordpress.com >> karlarao.tiddlyspot.com >> > > -- Christo Kutrovsky Senior Consultant Pythian.com I blog at http://www.pythian.com/blogs/