Hi all, I'm trying to understand how my system's memory is being use. My 
database server is running opensolaris nevada build 96, on a x4100, with the 
system postgres 8.3 packages. Data is on an external raid, using zfs volumes. 
It's been up about a month and a half, and I'm not quite sure how to interpret 
mdb's output:

# mdb -k
Loading modules: [ unix genunix specfs dtrace cpu.generic 
cpu_ms.AuthenticAMD.15 uppc pcplusmp scsi_vhci zfs mpt sd ip hook neti sctp arp 
usba qlc fctl lofs md random crypto fcip fcp logindmux nsctl sdbc sv ii ptm ufs 
rdc ipc nfs emlxs ]
> ::memstat
Page Summary                Pages                MB  %Tot
------------     ----------------  ----------------  ----
Kernel                     828286              3235   40%
Anon                      1193331              4661   57%
Exec and libs                4461                17    0%
Page cache                    273                 1    0%
Free (cachelist)             2328                 9    0%
Free (freelist)             66309               259    3%

Total                     2094988              8183
Physical                  2094987              8183


the arcstat perl script shows the arcsz as 2G. 


swapinfo (from http://www.brendangregg.com/K9Toolkit/swapinfo) shows:

# -bash-3.2$ ./swapinfo 
RAM  _____Total  8191.6 Mb
RAM    Unusable     8.0 Mb
RAM      Kernel  3239.7 Mb
RAM      Locked  3469.3 Mb
RAM        Used  1217.1 Mb
RAM       Avail   257.5 Mb


So, can someone explain what those different fields mean? What is Kernel, Anon, 
Locked? Why is my kernel using that much memory?

thanks
seph
--
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to