Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed "top" to monitor memory usage (Solaris 10 10/09 s10s_u8wos_08a SPARC).
It shows, more or less, this same what vmstat. Free memory = 5580M
vmstat 1 3
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr s0 s1 s2 s3 in sy cs us sy id
0 0 0 13783928 6501944 1 2 0 0 0 0 1 2 2 3 3 280 1414 132 3 1 96
0 0 0 13006624 5714672 7 37 0 0 0 0 0 0 0 0 0 231 734 25 0 0 100
0 0 0 13006464 5714512 4 4 0 0 0 0 0 0 0 0 0 218 695 26 1 0 99
Can anyone explain me how is this possible I have 5580M free mem.
Please note that:
Physical Memory: 2048M
Total Swap: 1024M
So how is that possible i see: 5580M free mem ?
memory capping - so memory should be limited ?
How can I see what is the size of all memory on logical zone ?
Here is what I see on global zone for logical zone:
Come on Jlliagre, how can it be ?
If physical is 2Gb and Swap 1Gb then free mem shouldnt be/cant be greater than 3 Gb. (In fact it shows more than 5 Gb).
Can you please explain me this/what im reading wrong ?
Ok, now I think I got it.
So the local zone reports free memory which in fact free memory of global zone.
If I understand you correctly:
to read correct value of free memory on local zone I should enlarge swap (to 2 GB or more) for that logical zone ? Is this right ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.