Sponsored Content
Operating Systems Solaris Where is my memory? How to fix it ? Post 303037796 by ron323232 on Tuesday 13th of August 2019 06:46:59 PM
Old 08-13-2019
Thanks. I will follow it
 

9 More Discussions You Might Find Interesting

1. Programming

how to round up a memory address(memory alignment problem)

Hi, I try to marshal a unsigned int and a char * into a buffer, and then unmarshal them later to get them out. I need to put the char * in the front and unsigned int at the end of the buffer. However, my system always give me "BUS ERROR". I am using Sun Sparcs Sloris 2.10. My code to marshal... (6 Replies)
Discussion started by: nj302
6 Replies

2. HP-UX

How can I get memory usage or anything that show memory used from sar file?

Refer from title: How can i get memory used or anything that can show memory from sar file example on solaris:- we can use sar with option to show memory used at time that sar crontab run. on HP-UX, it not has option to see memory used. But i think it may be have some parameter or some... (1 Reply)
Discussion started by: panithat
1 Replies

3. AIX

ulimits max locked memory virtual memory

Hi, Would any one be so kind to explain me : are ulimits defined for each user seperately ? When ? Specialy what is the impact of : max locked memory and virtual memory on performance of applications for a user. Many thanks. PS : this is what I can see in MAN : ulimit ] ... (5 Replies)
Discussion started by: big123456
5 Replies

4. Solaris

How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9

Hi, Im working on Solaris 9 on SPARC-32 bit running on an Ultra-80, and I have to find out the following:- 1. Total Physical Memory in the system(total RAM). 2. Available Physical Memory(i.e. RAM Usage) 3. Total (Logical) Memory in the system 4. Available (Logical) Memory. I know... (4 Replies)
Discussion started by: 0ktalmagik
4 Replies

5. Programming

How to deal with lots of data in memory in order not to run out of memory

Hi, I'm trying to learn how to manage memory when I have to deal with lots of data. Basically I'm indexing a huge file (5GB, but it can be bigger), by creating tables that holds offset <-> startOfSomeData information. Currently I'm mapping the whole file at once (yep!) but of course the... (1 Reply)
Discussion started by: emitrax
1 Replies

6. Solaris

restrcit physical memory with zone.max-locked-memory

Is it possible to restrict physical memory in solaris zone with zone.max-locked-memory just like we can do with rcapd ? I do not want to used rcapd (1 Reply)
Discussion started by: fugitive
1 Replies

7. UNIX for Advanced & Expert Users

Out of Memory error when free memory size is large

I was running a program and it stopped and showed "Out of Memory!". at that time, the RAM used by this process is around 4G and the free memory size of the machine is around 30G. Does anybody know what maybe the reason? this program is written with Perl. the OS of the machine is Solaris U8. And I... (1 Reply)
Discussion started by: lilili07
1 Replies

8. Solaris

relationship or difference between entitled memory and locked memory

Hello solaris experts, Being new to solaris containers, from Linux, feeling difficulty in understanding certain concepts. Hope somebody can help me here. I understand that, & some questions .... Locked memory -- memory which will not be swapped out at any cause. is this for... (0 Replies)
Discussion started by: thegeek
0 Replies

9. Solaris

[DOUBT] Memory high in idle process on Solaris 10 (Memory Utilization > 90%)

Hi Experts, Our servers running Solaris 10 with SAP Application. The memory utilization always >90%, but the process on SAP is too less even nothing. Why memory utilization on solaris always looks high? I have statement about memory on solaris, is this true: Memory in solaris is used for... (4 Replies)
Discussion started by: edydsuranta
4 Replies
Config::Model::Warper(3pm)				User Contributed Perl Documentation				Config::Model::Warper(3pm)

NAME
Config::Model::Warper - Warp tree properties VERSION
version 2.021 SYNOPSIS
# internal class DESCRIPTION
Depending on the value of a warp master (In fact a Config::Model::Value object), this class will change the properties of a node (Config::Model::WarpedNode), a hash (Config::Model::HashId), a list (Config::Model::ListId), a checklist (Config::Model::CheckList) or another value. Warper and warped Warping an object means that the properties of the object will be changed depending on the value of another object. The changed object is referred as the warped object. The other object that holds the important value is referred as the warp master or the warper object. You can also set up several warp master for one warped object. This means that the properties of the warped object will be changed according to a combination of values of the warp masters. Warp arguments Warp arguments are passed in a hash ref whose keys are "follow" and and "rules": Warp follow argument Grab string leading to the "Config::Model::Value" warp master. E.g.: follow => '! tree_macro' In case of several warp master, "follow" will be set to an array ref of several grab string: follow => [ '! macro1', '- macro2' ] You can also use named parameters: follow => { m1 => '! macro1', m2 => '- macro2' } Warp rules argument String, hash ref or array ref that specify the warped object property changes. These rules specifies the actual property changes for the warped object depending on the value(s) of the warp master(s). E.g. for a simple case (rules is a hash ref) : follow => '! macro1' , rules => { A => { <effect for macro1 == A> }, B => { <effect for macro1 == B> } } In case of similar effects, you can use named parameters and a boolean expression to specify the effect. The first match will be applied. In this case, rules is a list ref: follow => { m => '! macro1' } , rules => [ '$m eq "A"' => { <effect for macro1 == A> }, '$m eq "B" or $m eq"C "' => { <effect for macro1 == B|C > } ] In case of several warp masters, "follow" must use named parameters, and rules must use boolean expression: follow => { m1 => '! macro1', m2 => '- macro2' } , rules => [ '$m1 eq "A" && $m2 eq "C"' => { <effect for A C> }, '$m1 eq "A" && $m2 eq "D"' => { <effect for A D> }, '$m1 eq "B" && $m2 eq "C"' => { <effect for B C> }, '$m1 eq "B" && $m2 eq "D"' => { <effect for B D> }, ] Of course some combinations of warp master values can have the same effect: follow => { m1 => '! macro1', m2 => '- macro2' } , rules => [ '$m1 eq "A" && $m2 eq "C"' => { <effect X> }, '$m1 eq "A" && $m2 eq "D"' => { <effect Y> }, '$m1 eq "B" && $m2 eq "C"' => { <effect Y> }, '$m1 eq "B" && $m2 eq "D"' => { <effect Y> }, ] In this case, you can use different boolean expression to save typing: follow => { m1 => '! macro1', m2 => '- macro2' } , rules => [ '$m1 eq "A" && $m2 eq "C"' => { <effect X> }, '$m1 eq "A" && $m2 eq "D"' => { <effect Y> }, '$m1 eq "B" && ( $m2 eq "C" or $m2 eq "D") ' => { <effect Y> }, ] Note that the boolean expression will be sanitized and used in a Perl eval, so you can use most Perl syntax and regular expressions. Function (like &foo) will be called like "$self->foo" before evaluation of the boolean expression. Methods warp_error() This method returns a string describing: o The location(s) of the warp master o The current value(s) of the warp master(s) o The other values accepted by the warp master that can be tried (if the warp master is an enumerated type) How does this work ? Registration o When a warped object is created, the constructor will register to the warp masters. The warp master are found by using the special string passed to the "follow" parameter. As explained in grab method, the string provides the location of the warp master in the configuration tree using a symbolic form. o Then the warped object retrieve the value(s) of the warp master(s) o Then the warped object warps itself using the above value(s). Depending on these value(s), the properties of the warped object will be modified. Master update o When a warp master value is updated, the warp master will call all its warped object and pass them the new master value. o Then each warped object will modify its properties according to the new warp master value. AUTHOR
Dominique Dumont, (ddumont at cpan dot org) SEE ALSO
Config::Model::AnyThing, Config::Model::HashId, Config::Model::ListId, Config::Model::WarpedNode, Config::Model::Value perl v5.14.2 2012-11-09 Config::Model::Warper(3pm)
All times are GMT -4. The time now is 11:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy