![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9 | 0ktalmagik | SUN Solaris | 4 | 02-03-2009 09:37 AM |
| SQLPLUS unable to execte query automatically from solaris script | jyotisree | SUN Solaris | 2 | 08-11-2008 06:03 AM |
| solaris mail query | jabberwocky | SUN Solaris | 1 | 05-11-2006 10:41 AM |
| solaris 10 installation query | soliberus | SUN Solaris | 3 | 12-09-2004 01:13 PM |
| query reg semaphore / processes on solaris | Hitesh Shah | UNIX for Advanced & Expert Users | 1 | 07-03-2003 10:21 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Solaris 10 : Memory Capping Query
Hi Folks,
Im running solaris 10 8/07 and im trying to set up some memory capping within zones for the system project. ie. zone1# cat /etc/project system:0::::rcap.max-rss=41943040 user.root:1:::: noproject:2:::: default:3:::: group.staff:10:::: zone2# cat /etc/project system:0::::rcap.max-rss=31457280 user.root:1:::: noproject:2:::: default:3:::: group.staff:10:::: Now this seems to to work fine as when I check this Im getting the results I expect to see. ie zone1# rcapstat id project nproc vm rss cap at avgat pg avgpg 0 system 30 192M 84M 40M 37G 0K 11G 0K zone2# rcapstat id project nproc vm rss cap at avgat pg avgpg 0 system 30 240M 31M 30M 42G 0K 11G 0K However, when I check the memory usage of these zones from the global zone I get different results.. root@au11qap1i0tels2 [112] > prstat -n16 -Z ZONEID NPROC SWAP RSS MEMORY TIME CPU ZONE 5 33 193M 84M 0.5% 0:05:43 0.3% zone1 6 33 240M 71M 0.4% 0:05:43 0.3% zone2 0 68 783M 798M 4.9% 19:05:07 0.0% global Can someone let me know if this is a quirk with the way the rcapd communicates with the global zone ? or is something not right here ? Thanx in advance. |
|
||||
|
DOH ! worked it out. the output im seeing is actually correct.
so the next question i have is, is there a way i can see the memory capping of individual zones from the global zone where the memory capping is set withing a zone ?? |
|
||||
|
ok, well the issue was with me not understanding the rcapstat command clearly. ie. im new to sol 10 so just playing around with it.
basically the rcapstat is showing us the memory caps defined in each zone. so for the example above its 40m and 30m. however, when we run prstat from the global zone its showing ALL the memory being used by the zone which includes the capping set up for system. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|