Sponsored Content
Full Discussion: Prstat rss and swap
Operating Systems Solaris Prstat rss and swap Post 302822111 by sunnys7143 on Monday 17th of June 2013 03:29:06 AM
Old 06-17-2013
Display Prstat rss and swap

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 48G, but rss will change frequently,, now, there is a difference of 2GB in b/w swap and rss, that means weblogic can use another 2GB??

correct me if im wrong..

Thanks in advance.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help with prstat

Hello, The last line of prstat shows load average. I am unable to figure out what actually it is. I have read the man pages and also googled, all for no use. Can somebody help me, as to what should be the avg. load of the system for best performance and how is this load of prstat calculated. (6 Replies)
Discussion started by: vibhor_agarwali
6 Replies

2. Post Here to Contact Site Administrators and Moderators

Rss

Could RSS-support mod be installed for this forum? (3 Replies)
Discussion started by: eugrus
3 Replies

3. Solaris

Swap config - Mirror swap or not?

Hello and thanks in advance. I have a Sun box with raid 1 on the O/S disks using solaris svm. I want to unmirror my swap partition, and add the slice on the second disk as an additional swap device. This would give me twice as much swap space. I have been warned not to do this by some... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

4. Solaris

prstat O/P

Good Evening everyone, I am confused about prstat O/P as it shows memory values which are different from actual value.Below is the O/P of prstat command and swap commands. NPROC USERNAME SIZE RSS MEMORY TIME CPU 48 root 2113M 1590M 1.2% 45:09.39 32% 31 daemon ... (7 Replies)
Discussion started by: vvpotugunta
7 Replies

5. Red Hat

swap not defined as swap

free -m : 1023 total swap space created default partition /dev/sdb1 50M using fdisk. i did write the changes. #mkswap /dev/sdb1 #swapon /dev/sdb1 free -m : 1078 total swap space this shows that the swap is on Question : i did not change the type LINUX SWAP (82) in fdisk. so why is... (5 Replies)
Discussion started by: dplinux
5 Replies

6. HP-UX

Swap device file and swap sapce

Hi I have an integrity machine rx7620 and rx8640 running hp-ux 11.31. I'm planning to fine tune the system: - I would like to know when does the memory swap space spill over to the device swap space? - And how much % of memory swap utilization should be specified (swap space device... (6 Replies)
Discussion started by: lamoul
6 Replies

7. Solaris

RSS pmap and prstat

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

8. Solaris

prstat RSS memory

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

9. Solaris

RSS of prstat vs RSS of PS

Hi, 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: NPROC USERNAME SWAP RSS MEMORY TIME ... (2 Replies)
Discussion started by: amitlib
2 Replies

10. Solaris

Explain the output of swap -s and swap -l

Hi Solaris Folks :), I need to calculate the swap usage on solaris server, please let me understand the output of below swap -s and swap -l commands. $swap -s total: 1774912k bytes allocated + 240616k reserved = 2015528k used, 14542512k available $swap -l swapfile dev swaplo... (6 Replies)
Discussion started by: seenuvasan1985
6 Replies
OpenGuides::Feed(3pm)					User Contributed Perl Documentation				     OpenGuides::Feed(3pm)

       set_feed_name_and_url_params Overrides the default feed name and default feed http equivalent url. Useful on custom feeds, where the
       defaults are incorrect.
	      $feed->set_feed_name_and_url("Search Results", "search=pub");
	      $feed->build_mini_feed_for_nodes("rss", @search_results);

       make_feed
	   Produce one of the standard feeds, in the requested format.

	   my $feed_contents = feeds->make_feed(
					   feed_type => 'rss',
					   feed_listing => 'recent_changes'
			       );

	   Passes additional arguments through to the underlying Wiki::Toolkit::Feed

       build_feed_for_nodes
	   For the given feed type, build a feed from the supplied list of nodes.  Will figure out the feed timestamp from the newest node, and
	   output a
	    last modified header based on this.

	   my @nodes = $wiki->fetch_me_nodes_I_like(); my $feed_contents = $feed->build_feed_for_nodes("rss", @nodes);

       build_mini_feed_for_nodes
	   For the given feed type, build a mini feed (name and distance) from the
	    supplied list of nodes.  Will figure out the feed timestamp from the newest node, and output a
	    last modified header based on this.

	   my @nodes = $wiki->search_near_here(); my $feed_contents = $feed->build_mini_feed_for_nodes("rss", @nodes);

       render_feed_for_nodes
	   Normally internal method to perform the appropriate building of a feed based on a list of nodes.

       default_content_type
	   For the given feed type, return the default content type for that feed.

	   my $content_type = $feed->default_content_type("rss");

       fetch_maker
	   For the given feed type, identify and return the maker routine for feeds of that type.

	   my $maker = $feed->fetch_maker("rss"); my $feed_contents = maker->node_all_versions(%options);

	   Will always return something of type Wiki::Toolkit::Feed::Listing

NAME
OpenGuides::Feed - generate data feeds for OpenGuides in various formats. DESCRIPTION
Produces RSS 1.0 and Atom 1.0 feeds for OpenGuides. Distributed and installed as part of the OpenGuides project, not intended for independent installation. This documentation is probably only useful to OpenGuides developers. SYNOPSIS
use Wiki::Toolkit; use OpenGuides::Config; use OpenGuides::Feed; my $wiki = Wiki::Toolkit->new( ... ); my $config = OpenGuides::Config->new( file => "wiki.conf" ); my $feed = OpenGuides::Feed->new( wiki => $wiki, config => $config, og_version => '1.0', ); # Ten most recent changes in RSS format. my %args = ( items => 10, feed_type => 'rss', also_return_timestamp => 1 ); my ($feed_output,$feed_timestamp) = $feed->make_feed( %args ); print "Content-Type: application/rdf+xml "; print "Last-Modified: " . $feed_timestamp . " "; print $feed_output; METHODS
new my $feed = OpenGuides::Feed->new( wiki => $wiki, config => $config, og_version => '1.0', ); "wiki" must be a Wiki::Toolkit object and "config" must be an OpenGuides::Config object. Both of these arguments are mandatory. "og_version" is an optional argument specifying the version of OpenGuides for inclusion in the feed. rss_maker Returns a raw Wiki::Toolkit::Feed::RSS object created with the values you invoked this module with. atom_maker Returns a raw Wiki::Toolkit::Feed::Atom object created with the values you invoked this module with. make_feed # Ten most recent changes in RSS format. my %args = ( items => 10, feed_type => 'rss', also_return_timestamp => 1 ); my ($feed_output,$feed_timestamp) = $rdf_writer->make_feed( %args ); print "Content-Type: application/rdf+xml "; print "Last-Modified: " . $feed_timestamp . " "; print $feed_output; print $rdf_writer->make_feed( %args ); # All the changes made by bob in the past week, ignoring minor edits, in Atom. $args{days} = 7; $args{ignore_minor_edits = 1; $args{filter_on_metadata} => { username => "bob" }; $args{also_return_timestamp} => 1; my ($feed_output,$feed_timestamp) = $rdf_writer->make_feed( %args ); print "Content-Type: application/atom+xml "; print "Last-Modified: " . $feed_timestamp . " "; print $feed_output; feed_timestamp Instead of calling this, you should instead pass in the 'also_return_timestamp' option. You will then get back the feed timestamp, along with the feed output. This method will be removed in future, and currently will only return meaningful values if your arguments relate to recent changes. print "Last-Modified: " . $feed->feed_timestamp( %args ) . " "; Returns the timestamp of something in POSIX::strftime style ("Tue, 29 Feb 2000 12:34:56 GMT"). Takes the same arguments as make_recentchanges_rss(). You will most likely need this to print a Last-Modified HTTP header so user-agents can determine whether they need to reload the feed or not. SEE ALSO
o Wiki::Toolkit, Wiki::Toolkit::Feed::RSS and Wiki::Toolkit::Feed::Atom o <http://openguides.org/> AUTHOR
The OpenGuides Project (openguides-dev@lists.openguides.org) COPYRIGHT
Copyright (C) 2003-2009 The OpenGuides Project. All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. CREDITS
Written by Earle Martin, based on the original OpenGuides::RDF by Kake Pugh. perl v5.14.2 2013-01-11 OpenGuides::Feed(3pm)
All times are GMT -4. The time now is 02:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy