09-03-2014
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.
This User Gave Thanks to Perderabo For This Post:
8 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Could RSS-support mod be installed for this forum? (3 Replies)
Discussion started by: eugrus
3 Replies
2. UNIX for Dummies Questions & Answers
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)
Discussion started by: craigp84
11 Replies
4. Shell Programming and Scripting
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
5. Shell Programming and Scripting
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)
Discussion started by: dyowelb
1 Replies
6. Solaris
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)
Discussion started by: deivo
0 Replies
7. Solaris
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)
Discussion started by: k4boy
6 Replies
8. Solaris
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 DEBIAN
xml::rss::libxml::magicelement
XML::RSS::LibXML::MagicElement(3pm) User Contributed Perl Documentation XML::RSS::LibXML::MagicElement(3pm)
NAME
XML::RSS::LibXML::MagicElement - Represent A Non-Trivial RSS Element
SYNOPSIS
us XML::RS::LibXML::MagicElement;
my $xml = XML::RSS::LibXML::MagicElement->new(
content => $textContent,
attributes => @attributes
);
DESCRIPTION
This module is a handy object that allows users to access non-trivial RSS elements in XML::RSS style. For example, suppose you have an RSS
feed with an element like the following:
<channel>
<title>Example</title>
<tag attr1="foo" attr2="bar">baz</tag>
...
</channel>
While it is simple to access the title element like this:
$rss->{channel}->{title};
It was slightly non-trivial for the second tag. With this module, <tag> is parsed as a XML::RSS::LibXML::MagicElement object and then you
can access all the elements like so:
$rss->{channel}->{tag}; # "baz"
$rss->{channel}->{tag}->{attr1}; # "foo"
$rss->{channel}->{tag}->{attr2}; # "bar"
METHODS
new
Create a new MagicElement object.
attributes
Returns the list of attributes associated with this element
toString
Returns the string representation of this object. By default we use the "text content" of the found tag, but for XML::RSS compatibility,
we use the concatenation of the attributes if no content is found.
AUTHOR
Copyright 2005 Daisuke Maki <dmaki@cpan.org>. All rights reserved.
Development partially funded by Brazil, Ltd. <http://b.razil.jp>
perl v5.12.4 2011-09-17 XML::RSS::LibXML::MagicElement(3pm)