When I sum the RSS number in the ps command for a specific user and compare it with the RSS values of the prstat command of the same user - there is a big difference.
Server details: Solaris 10 5/09 s10s_u7wos_08 SPARC
prstat output: PS:
When I sum the value of RSS of all the processes for user=gpsvip01, it sums with 20GB.
Note- when I compare the RSS values of PS vs lparstat on a different server (Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC) the values are almost the same.
Question: This zone has 12GB of memory. Is it possible that gpsvip01 user is using memory from other zones, and how can I prove/disprove this assumption?
Moderator's Comments:
Please use code tags next time for your code and data. Thanks
Things are changing all the time. If you run prstat then you run ps you get two differtent snapshots of memory. Even if you run them more or less simultaneously they will not examine the processes in perfect lockstep.
Now consider that a user is running 10 different processes which are 10 different programs. However all 10 were written in C and all 10 use the standard C library and the C I/O library. These libraries are mapped into all 10 ten processes. But they are shared libraries. Only one copy actually resides in core. That single copy is counted in the RSS of all 10 processes. Now one of the 10 suddenly wants to call, let's say, strncpy() but the code for that is not currently in core. So it page faults its way in. That increases the RSS of all 10 processes even though 9 of the 10 may currently be asleep.
We don't have that many shared libraries. I don't expect the same values. But the sum of RSS from PS is 20GB and from prstat is 10GB. On other Solaris servers that have the same code the differance is at most 1GB.
Hi everyone,
was hoping someone might be able to help me understand what I am seeing on one of our solaris systems.
prstat -s size -a is showing user oradba as being top virtual memory consumption.
639 oradba 3012G 2951G 100% 59:44:01 25%
why is it saying 3012G size and 2951G RSS... (6 Replies)
Hi,
I have some question about memory in Solaris.
How it's possible that prstat -a show me that some process using 230M RSS and when I'm using pmap -x show me that this same process using only 90M RSS ? (0 Replies)
Hi,
I new to solaris and I was assigned to make a script to check the memory usage of a particular server by checking the usage of some 400+ processes. Everything is fine except the RSS value of the prtstat command because some of the value are in megabytes and some are in kilobytes. I need them... (1 Reply)
Hi all ;-)
I would like to know if somebody knows a way to make a script for check a .xml RSS page every 1-5 min and send the last news to an email address.
I would like to put in on my shell with FreeBSD 6.2
Thanks you in advance 4 help!
;-) (0 Replies)
Discussion started by: Mukka
0 Replies
6. Post Here to Contact Site Administrators and Moderators
Hi Guys,
With the RSS feeds of new threads added to the forums, would it be possible to include the text of the post in the RSS body?
This means that i wouldn't have to keep clicking "view site" to see what the thread's about from my rss aggregator.
I've included 2 x screenshots below that... (11 Replies)
I am trying to make a script that downloads/reads an rss feed every couple of days and then parses through looking at the results. I am unsure of how to get the information from the feed. Anyone have any suggestions on where to start? (0 Replies)
Discussion started by: rcunn87
0 Replies
8. Post Here to Contact Site Administrators and Moderators