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
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
3. 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)
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)
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,
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 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,
someone please explain me what's the difference b/w rss and swap in PRSTAT.
i'm getting output like below,
NPROC USERNAME SWAP RSS MEMORY TIME CPU
70 weblogic 48G 46G 73% 449:17:03 0.4%
swap always remains... (11 Replies)
Discussion started by: sunnys7143
11 Replies
LEARN ABOUT OPENSOLARIS
rcapd
rcapd(1M) System Administration Commands rcapd(1M)NAME
rcapd - resource cap enforcement daemon
SYNOPSIS
rcapd [-d]
DESCRIPTION
The rcapd daemon enforces resource caps on collections of processes. Per-project and per-zone physical memory caps are supported. For
information about projects, see project(4). For zones information, see zones(5)
When the resident set size (RSS) of a collection of processes exceeds its cap, rcapd takes action and reduces the RSS of the collection.
The virtual memory system divides physical memory into segments known as pages. To read data from a file into memory, the virtual memory
system reads in individual pages. To reduce resource consumption, the daemon can page out, or relocate, infrequently used pages to an area
outside of physical memory.
In the project file, caps are defined for projects that have positive values for the following project attribute:
rcap.max-rss The total amount of physical memory, in bytes, that is available to the project's member processes
See project(4) for a description of project attributes.
For a system with one or more zones, you can dynamically set the rcap.max-rss value for a zone with rcapadm(1M). To set a persistent cap on
memory usage within a zone, you use zonecfg(1M).
You configure rcapd through the use of rcapadm(1M). The daemon can be monitored with rcapstat(1). Configuration changes are incorporated
into rcapd by sending it SIGHUP (see kill(1)), or according to the configuration interval (see rcapadm(1M)).
OPTIONS
The following option is supported:
-d Enable debug mode. Messages are displayed on the invoking user's terminal.
EXAMPLES
Example 1 Setting Resident Set Size Cap Attribute
The following line in the /etc/project database sets an RSS cap of 1073741824 bytes for a project named foo.
foo:100::foo,root::rcap.max-rss=10737418240
EXIT STATUS
The following exit values are returned:
0 Successful completion.
1 An error occurred.
2 Invalid command-line options were specified.
FILES
/etc/project Project database.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWrcapu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO rcapstat(1), svcs(1), rcapadm(1M), zonecfg(1M), svcadm(1M), project(4), attributes(5), smf(5), zones(5)
"Physical Memory Control Using the Resource Capping Daemon" in System Administration Guide: Solaris Containers-Resource Management, and
Solaris Zones
NOTES
If killed with SIGKILL, rcapd can leave processes in a stopped state. Use SIGTERM to cause rcapd to terminate properly.
A collection's RSS can exceed its cap for some time before the cap is enforced, even if sufficient pageable memory is available. This
period of time can be reduced by shortening the RSS sampling interval with rcapadm.
The rcapd service is managed by the service management facility, smf(5), under the service identifier:
svc:/system/rcap:default
Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser-
vice's status can be queried using the svcs(1) command.
SunOS 5.11 19 Dec 2006 rcapd(1M)