Sponsored Content
Operating Systems AIX Question about reserved memory Post 302659103 by vpundit on Wednesday 20th of June 2012 11:05:50 AM
Old 06-20-2012
hi thanks for your response. I will do some readjustments and post back what works.

Thanks!
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

NFS and NIS reserved ports

Does anyone know how to assign rpc ports to NFS or NIS processes on Solaris please ? Thanks, Michael Chnader (0 Replies)
Discussion started by: mchnaider
0 Replies

2. UNIX for Advanced & Expert Users

memory question

Following is the result of commands vmstat and free, on a linux machine: $ vmstat procs -----------memory---------- ---swap-- -----io---- -system-- -----cpu------ r b swpd free buff cache si so bi bo in cs us sy id wa st 0 0 40 207344 135724 3234048 0 0 ... (1 Reply)
Discussion started by: fredao
1 Replies

3. UNIX for Dummies Questions & Answers

Memory utilization question

Hi All I have a clarification. I am running a database on CentOS 4.5 final, PostgreSQL version 8.1.9. The question is about memory usage on the system. The memory used statistic has risen consistently over the past few days... by about 2-3% a day. I want to know why this memory is growing.... (1 Reply)
Discussion started by: skotapal
1 Replies

4. Shell Programming and Scripting

sed error - using reserved letters

Hi All, below is my data file file.txt 0 ServerA LAN1 AAA IT01 04/30/2008 09:16:26 (no records) 0 ServerB LAN1 AAA IT02 04/30/2008 09:16:26 0 ServerA LAN1 AAA IT01 04/30/2008 11:11:26 0 ServerB LAN1 AAA IT02 ... (6 Replies)
Discussion started by: karthikn7974
6 Replies

5. Shell Programming and Scripting

chkcount variable in bash reserved?

Hi, im experiencing a really strange thing: _____________________________ #!/bin/bash chkcount=0 chkcountmax=3 while ((chkcount < chkcountmax)) do echo "chkcount=$chkount" echo "chkcountmax=$chkountmax" ((chkcount++)) done... (1 Reply)
Discussion started by: tho99
1 Replies

6. High Performance Computing

Newbie question about using a Cluster: using memory

Newbie question about clusters and memory. Is there a way using a cluster (or any other Linux feature/technology) where I can link up a bunch of PCs such that an app thinks it has more memory than available on just one local machine? For example, we have multiple surplus PCs with 512MB RAM... (8 Replies)
Discussion started by: joespr
8 Replies

7. Hardware

/dev/rmt/0mn: write protected or reserved

# mt stat HP DDS-4 DAT (Sun) tape drive: sense key(0x0)= No Additional Sense residual= 0 retries= 0 file no= 0 block no= 0 mt -f /dev/rmt/0mn erase /dev/rmt/0mn: write protected or reserved. Getting error while ufsdump .... --- Dumping / to /dev/rmt/0mn --- DUMP: Date... (1 Reply)
Discussion started by: vickyingle5
1 Replies

8. Solaris

/dev/rmt/0mn: write protected or reserved

# mt stat HP DDS-4 DAT (Sun) tape drive: sense key(0x0)= No Additional Sense residual= 0 retries= 0 file no= 0 block no= 0 mt -f /dev/rmt/0mn erase /dev/rmt/0mn: write protected or reserved. Getting error while ufsdump .... --- Dumping / to /dev/rmt/0mn --- DUMP: Date... (5 Replies)
Discussion started by: vickyingle5
5 Replies

9. Programming

Memory addressing question

Forgive me if this sounds like a newbie question. Any time you obtain a stack address from a pointer, what is this relative to by default? Is it the extra segment, the stack segment, what? How do you change change the relative positioning in memory? Thanks in advance (1 Reply)
Discussion started by: stevenswj
1 Replies

10. Solaris

Solaris memory question...

On my Solaris 10 server we are having memory issue. I did top and I see this. last pid: 8876; load avg: 0.19, 0.16, 0.16; up 50+05:24:02 14:56:53 80 processes: 77 sleeping, 1 stopped, 2 on cpu CPU states: 93.5% idle, 3.1% user, 3.4%... (4 Replies)
Discussion started by: samnyc
4 Replies
IKC::ClientLite(3pm)					User Contributed Perl Documentation				      IKC::ClientLite(3pm)

NAME
POE::Component::IKC::ClientLite - Small client for IKC SYNOPSIS
use POE::Component::IKC::ClientLite; $poe=create_ikc_client(port=>1337); die POE::Component::IKC::ClientLite::error() unless $poe; $poe->post("Session/event", $param) or die $poe->error; # bad way of getting a return value my $foo=$poe->call("Session/other_event", $param) or die $poe->error; # better way of getting a return value my $ret=$poe->post_respond("Session/other_event", $param) or die $poe->error; # make sure connectin is aliave $poe->ping() or $poe->disconnect; DESCRIPTION
ClientLite is a small, pure-Perl IKC client implementation. It is very basic because it is intented to be used in places where POE wouldn't fit, like mod_perl. It handles automatic reconnection. When you post an event, ClientLite will try to send the packet over the wire. If this fails, it tries to reconnect. If it can't it returns an error. If it can, it will send he packet again. If *this* fails, well, tough luck. METHODS
create_ikc_client Creates a new PoCo::IKC::ClientLite object. Parameters are supposedly compatible with PoCo::IKC::Client, but unix sockets aren't handled yet... What's more, there are 3 additional parameters: block_size Size, in octets (8 bit bytes), of each block that is read from the socket at a time. Defaults to 65535. timeout Time, in seconds, that "call" and "post_respond" will wait for a response. Defaults to 30 seconds. connect_timeout Time, in seconds, to wait for a phase of the connection negotiation to complete. Defaults to "timeout". There are 4 phases of negotiation, so a the default "connect_timeout" of 30 seconds means it could potentialy take 2 minutes to connect. protocol Which IKC negociation protocol to use. The original protocol ("IKC") was synchronous and slow. The new protocol ("IKC0") sends all information at once. IKC0 will degrade gracefully to IKC, if the client and server don't match. Default is IKC0. connect $poe->connect or die $poe->error; Connects to the remote kernel if we aren't already. You can use this method to make sure that the connection is open before trying anything. Returns true if connection was successful, false if not. You can check "error" to see what the problem was. disconnect Disconnects from remote IKC server. error my $error=POE::Component::IKC::ClientLite::error(); $error=$poe->error(); Returns last error. Can be called as a object method, or as a global function. post $poe->post($specifier, $data); Posts the event specified by $specifier to the remote kernel. $data is any parameters you want to send along with the event. It will return 1 on success (ie, data could be sent... not that the event was received) and undef() if we couldn't connect or reconnect to remote kernel. post_respond my $ret=$poe->post_respond($specifier, $data); Posts the event specified by $specifier to the remote kernel. $data is any parameters you want to send along with the event. It waits until the remote kernel sends a message back and returns it's payload. Waiting timesout after whatever you value you gave to POE::Component::IKC::Client->spawn. Events on the far side have to be aware of post_respond. In particular, ARG0 is not $data as you would expect, but an arrayref that contains $data followed by a specifier that should be used to post back. sub my_event { my($kernel, $heap, $args)=@_[KERNEL, HEAP, ARG0]; my $p=$args->[0]; $heap->{rsvp}=$args->[1]; # .... do lotsa stuff here } # eventually, we are finished sub finished { my($kernel, $heap, $return)=@_[KERNEL, HEAP, ARG0]; $kernel->post(IKC=>'post', $heap->{rsvp}, $return); } responded my $ret = $poe->responded( $state ); my @ret = $poe->responded( $state ); Waits for $state from the remote kernel. $state must be a simple state name. Any requests from the remotre kernel for other states are rejected. A remote handler would respond by using the proxy sender. call my $ret=$poe->call($specifier, $data); This is the bad way to get information back from the a remote event. Follows the expected semantics from standard POE. It works better then post_respond, however, because it doesn't require you to change your interface or write a wrapper. ping unless($poe->ping) { # connection is down! connection is down! } Find out if we are still connected to the remote kernel. This method will NOT try to reconnect to the remote server name Returns our local name. This is what the remote kernel thinks we are called. I can't really say this is the local kernel name, because, well, this isn't really a kernel. But hey. AUTHOR
Philip Gwyn, <perl-ikc at pied.nu> COPYRIGHT AND LICENSE
Copyright 1999-2011 by Philip Gwyn. All rights reserved. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See <http://www.perl.com/language/misc/Artistic.html> SEE ALSO
POE, POE::Component::IKC perl v5.12.4 2011-08-27 IKC::ClientLite(3pm)
All times are GMT -4. The time now is 07:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy