Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

log::agent::driver::fork(3pm) [debian man page]

Agent::Driver::Fork(3pm)				User Contributed Perl Documentation				  Agent::Driver::Fork(3pm)

NAME
Log::Agent::Driver::Fork - dummy driver for forking output to multiple drivers SYNOPSIS
use Log::Agent; require Log::Agent::Driver::Fork; require Log::Agent::Driver::Foo; require Log::Agent::Driver::Bar; my $driver = Log::Agent::Driver::Fork->make( Log::Agent::Driver::Foo->make( ... ), Log::Agent::Driver::Bar->make( ... ) ); logconfig(-driver => $driver); DESCRIPTION
This driver merely acts a multiplexer for logxxx() calls, duplicating them and distributing them to other drivers. The only routine of interest here is the creation routine: make(@drivers) Create a Log::Agent::Driver::Fork driver that duplicates logxxx() calls and distributes them to the drivers in @drivers. The arguments must be the return value of the make() call for the client drivers. NOTES
Many thanks go to Daniel Lundin and Jason May who proposed this module independently. Eventually, logconfig() will support multiple drivers directly. But, for now, this solution requires no change to the existing interface. AUTHOR
Mark Rogaski <mrogaski@pobox.com> LICENSE
Copyright (C) 2002 Mark Rogaski; all rights reserved. See Log::Agent(3) or the README file included with the distribution for license information. SEE ALSO
Log::Agent::Driver(3), Log::Agent(3). perl v5.10.0 2009-07-23 Agent::Driver::Fork(3pm)

Check Out this Related Man Page

Agent::Driver::Mail(3pm)				User Contributed Perl Documentation				  Agent::Driver::Mail(3pm)

NAME
Log::Agent::Driver::Mail - email driver for Log::Agent SYNOPSIS
use Log::Agent; require Log::Agent::Driver::Mail; my $driver = Log::Agent::Driver::Mail->make( -to => 'oncall@example.org', -cc => [ qw( noc@example.org admin@example,net ) ], -subject => "ALERT! ALERT!", -mailer => [ 'smtp', Server => 'mail.example.net' ] ); logconfig(-driver => $driver); DESCRIPTION
This driver maps the logxxx() calls to email messages. Each call generates a separate email message. The Mail::Mailer module is required. CONSTRUCTOR
make OPTIONS The OPTIONS argument is a hash with the following keys: -prefix An optional prefix for the message body. -to The destination addresses, may be a scalar containing a valid email address or a reference to an array of addresses. -reply_to The reply-to addresses, may be a scalar containing a valid email address or a reference to an array of addresses. -from The source address, must be a scalar containing a valid email address. -subject The subject line of the email message. -cc The carbon copy addresses, may be a scalar containing a valid email address or a reference to an array of addresses. -bcc The blind carbon copy addresses, may be a scalar containing a valid email address or a reference to an array of addresses. -priority The priority level for the email message. This is NOT related to the logging priority. -mailer A reference to an array containing the optional arguments to Mail::Mailer->new(). Generally, this can be omitted. NOTES
Thanks to Shirley Wang for the idea for this module. AUTHOR
Mark Rogaski <mrogaski@pobox.com> LICENSE
Copyright (C) 2002 Mark Rogaski; all rights reserved. See Log::Agent(3) or the README file included with the distribution for license information. SEE ALSO
Mail::Mailer, Log::Agent::Driver(3), Log::Agent(3). perl v5.10.0 2002-05-12 Agent::Driver::Mail(3pm)
Man Page

15 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Computek Support Forum

Do Floppy disks require drivers. I forgot, and one of my customers wants to know.:confused: :( :confused: :confused: (3 Replies)
Discussion started by: computek
3 Replies

2. Windows & DOS: Issues & Discussions

Need BIOS drivers for motherboard

Does anyone know a good driver site. If you've heard of driverguide.com or driversearch.com please do not reccomend them because I already know them. I need to know where to get Motherboard drivers for a homemade computer. If there is any info that you need to know feel free to make a reply. :) (5 Replies)
Discussion started by: computek
5 Replies

3. Programming

Fork ()

hi all About this code for (i = 1; i < n; i++) if ((childpid = fork()) <= 0) break; I really can't understand the output . and the way fork () return the value . how about the process Id ,the child process Id and the parent ID in this case so please answer me soon (5 Replies)
Discussion started by: iwbasts
5 Replies

4. Linux

Port Linux Driver to Unix

I looking for someone who can help me port a Linux Driver to a OpenBSD( OS X ) Unix Driver. The driver is for a Logic Controls LD9000 USB Customer Display. The currently don't have a driver for the mac operating system, but they do however have one for the Linux OS. So, I am just trying to... (8 Replies)
Discussion started by: ghost1
8 Replies

5. UNIX for Advanced & Expert Users

Problem due to Fork Error

Hi, I have developed a datastage job...which has many process running in parallel..but because of Fork Error my job is not working:( Can any body help me out to solve this Fork error problem.:rolleyes: My Os is SUNOS. IS there any setting in Unix through admin where in if i set some paramter... (8 Replies)
Discussion started by: Amey Joshi
8 Replies

6. UNIX for Dummies Questions & Answers

wireless drivers for linux?

so i downloaded a linux today, but i ahve the problem that i cant connect to the internett becouse i need drivers. annyone know where i can get the drivers? (4 Replies)
Discussion started by: Morton
4 Replies

7. Solaris

VCS Log

Hi All, Can anyone help me to analyse this VCS log. One of my applications failover suddenly and I need to find out the reason behind this. 2009/04/09 10:58:57 VCS ERROR V-16-2-13067 (CS49PAPS2) Agent is calling clean for resource(Web-ebill2app) because the resource became OFFLINE... (4 Replies)
Discussion started by: ronny_nch
4 Replies

8. Shell Programming and Scripting

Log file query

(4 Replies)
Discussion started by: LAVco
4 Replies

9. AIX

Change Log Repair Action without using diag?

Hi Gurus, I want to change Log Repair Action remotely, or in a script. In these cases, the dial menu can not be used. Is there any command to do the job? Thank you in advance! (4 Replies)
Discussion started by: aixlover
4 Replies

10. UNIX for Dummies Questions & Answers

Microkernel drivers

If microkernels do not load drivers into the kernel, does mean that the drivers are daemons that run in user space, or are there some other provision for drivers? I know it may sound a bit elementary but I'm not certain and I want to clear it up. Thanks in advance. (3 Replies)
Discussion started by: neur0n
3 Replies

11. Shell Programming and Scripting

Problem in copy files to a folder

Hi all, cp -r /tmp/Agent/* /apps/opt/Agent/TEST When I copy files under /tmp/Agent using this command Files are getting copied to Agent folder also but I need only in the TEST folder. Is there any way to fix this issue??\ Thanks in advance Ananth (4 Replies)
Discussion started by: Ananthdoss
4 Replies

12. Ubuntu

Static Driver Loading Issue

To load the driver at boot time I added my driver name in /etc/modules. Next I copied the driver to /lib/modules/2.6.34.12/kernel/drivers/char/. But when I reboot the machine the drriver does not get loaded. What am I missing and how to load the driver at boot time? (9 Replies)
Discussion started by: rupeshkp728
9 Replies

13. Shell Programming and Scripting

Help needed to extract distinct logs from a Log File

Hi, I urgently need some help how to extract distinct entries from a Log file. The Log File may have same error occuring many times so how do i count the occurance of an error in file and also extract out distinct errors in a file. Eg:- I have a file name A.log it contains entries as below:-... (5 Replies)
Discussion started by: roro
5 Replies

14. UNIX for Dummies Questions & Answers

Fork resource unavailable error, max # filehandles open?

I wrote a perl program that simultaneously reads in data from 691 tar.gz files using zcat. I can run one instance of the program without any issues and the memory and swap sizes are negligible. However, when I attempt to run more than 1 I start to get fork: resource unavailable messages. Are... (6 Replies)
Discussion started by: aquinom85
6 Replies

15. Debian

Devuan debian "Fork"

devuan.org Is anyone from here involved with the project at all? (5 Replies)
Discussion started by: Swathe
5 Replies