POE::Resources(3pm) User Contributed Perl Documentation POE::Resources(3pm)NAME
POE::Resources - loader of POE resources
SYNOPSIS
# Intended for internal use by POE::Kernel.
use POE::Resources;
POE::Resources->load();
DESCRIPTION
POE::Kernel is internally split into different resources that are separately managed by individual mix-in classes.
POE::Resources is designed as a high-level macro manager for POE::Resource classes. Currently it implements a single method, load(), which
loads all the POE::Resource classes.
METHODS
POE::Resources has a public interface, but it is intended to be used internally by POE::Kernel. Application programmers should never need
to use POE::Resources directly.
load
POE::Kernel calls load() to loads all the known POE::Resource modules.
Each resource may be handled by a pure perl module, or by an XS module. For each resource class, load() first tries to load the
"POE::XS::Resource::..." version of the module. If that fails, load() falls back to "POE::Resource::...".
SEE ALSO
See "Resources" in POE::Kernel for for public information about POE resources.
See POE::Resource for general discussion about resources and the classes that manage them.
AUTHORS & LICENSING
Please see POE for more information about its authors, contributors, and POE's licensing.
perl v5.14.2 2012-05-15 POE::Resources(3pm)
Check Out this Related Man Page
POE::Driver::SysRW(3pm) User Contributed Perl Documentation POE::Driver::SysRW(3pm)NAME
POE::Driver::SysRW - buffered, non-blocking I/O using sysread and syswrite
SYNOPSIS
"SYNOPSIS" in POE::Driver illustrates how the interface works. This module is merely one implementation.
DESCRIPTION
This driver implements POE::Driver using sysread and syswrite.
PUBLIC METHODS
POE::Driver::SysRW introduces some additional features not covered in the base interface.
new [BlockSize => OCTETS]
new() creates a new buffered I/O driver that uses sysread() to read data from a handle and syswrite() to flush data to that handle. The
constructor accepts one optional named parameter, "BlockSize", which indicates the maximum number of OCTETS that will be read at one time.
"BlockSize" is 64 kilobytes (65536 octets) by default. Higher values may improve performance in streaming applications, but the trade-off
is a lower event granularity and increased resident memory usage.
Lower "BlockSize" values reduce memory consumption somewhat with corresponding throughput penalties.
my $driver = POE::Driver::SysRW->new;
my $driver = POE::Driver::SysRW->new( BlockSize => $block_size );
Drivers are commonly instantiated within POE::Wheel constructor calls:
$_[HEAP]{wheel} = POE::Wheel::ReadWrite->new(
InputHandle => *STDIN,
OutputHandle => *STDOUT,
Driver => POE::Driver::SysRW->new(),
Filter => POE::Filter::Line->new(),
);
Applications almost always use POE::Driver::SysRW, so POE::Wheel objects almost always will create their own if no Driver is specified.
All Other Methods
POE::Driver::SysRW documents the abstract interface documented in POE::Driver. Please see POE::Driver for more details about the following
methods:
flush
get
get_out_messages_buffered
put
SEE ALSO
POE::Driver, POE::Wheel.
Also see the SEE ALSO section of POE, which contains a brief roadmap of POE's documentation.
AUTHORS & COPYRIGHTS
Please see POE for more information about authors and contributors.
perl v5.14.2 2012-05-15 POE::Driver::SysRW(3pm)
when i try to load Redhat 7.2 the screen gets all mished together as if it were a meltdown the book says its a prob with X but it dosnt really say what to do WINMe works fine i have a radeon 64 MB card 1 gig processor and 2 HDs on a Dell 1 GHZ how do i fix this ? (2 Replies)
I am running a C program on a SCO box. There are multiple users on using the system resources. My problem is when using fprintfs in the program. I am writing to a log every thing I read in from a file after doing some formatting. I write out to the log with the fprintfs in groupings like 10... (3 Replies)
Good morning all!
Does any know of any good resources to read up on why people would use Unix, what the weaknesses are of the platform and how it is used!
Many thanks:
Note: This is for an assignment, I know you are not suppose to ask for help or post assignment questions but all I am... (2 Replies)
Hi All.
In my production server the load is very high.
normally it used to be less than 1,but now it is more than 5.
I am new to unix all together.
I want to know what is the reason behind high load.
and if it is high what is the impact? (4 Replies)
Hello all, Can anyone tell me the command line I can use to look at the following Kernel parameters:
nfile
maxfile
maxfile_lim
I'm using the Reflection manager connection to my Unix box so I can't use SAM. (3 Replies)
Hi Expert,
Can anyone tell what command can list the resources used for each process in AIX, including the following columns:
Process ID, Program Name, Resources used(CPU,RAM,SWAP),Start Time
Thanks!!
Victor Cheung (3 Replies)
Hi all,
I am a newbie to AIX. Can any one give me any idea of resource manager in AIX. How can i use it to schedule jobs at appropriate times. Any pointers to tutorials will b of great help. (4 Replies)
Hi all...........
Please, Anyone Tell me About How to Optimize Unix/Linux Resources to the Best use of them???????
And also specify if there is some tools for it.
Thanks in Advance...
Regards
Kuldeep (2 Replies)
Anybody knows about any reliable source where i can study Linux servers while sitting at my home. A single bit of information in this regards will be highly appreciated. thanks :-) (3 Replies)
Hello everyone!
I'm having troubles with a new instalation of a server IBM Power6-550.
I followed this steps:
1.- Create a new partition for VIOS installation.
-> Resources: Sheared Processors, Memory, 2 virtual ethernet adapters, 4 LHEA adapters, 7 virtual SCSI adapters, the RAID... (3 Replies)
I had install Sun Solaris 10 in my virtual machine. Anyhow I still very limitation knowledge how to operate it. Would like to search for help somemore could assist me how could I get the resources by free for me to learn and prepare myself for sitting the Sun cerfitication exam?
Please help and... (3 Replies)
I'm not sure if this belong in dummies or advanced so I made my best guess. Go easy on me if I get it wrong.
I'm trying to determine what a high load for my system is. I run a php/mysql web server with a dedicated host. The host has a Intel Xeon 3110 (Dual Core) processor.
Our load seems to... (5 Replies)
Hi,
I have a requirement to monitor the HACMP Resource Groups. At present in my environment, if the Resource Groups fail over from preferred node to Secondary node we dont get notification.
Can some one help me in creating a scrript. I have more than one RG online. (Max 4 Resource Groups in... (2 Replies)
Hi All,
This discussion involves getting a way to load different jars in different Operating Systems.
Case Scenario
---------------
I am working on a specific OS known as NSK. Its an unix flavour and powers the HP NSK Servers. I am running one of my middleware app ( a java application) on... (3 Replies)