----- Original Message -----
From: Radhika Sambamurti <[EMAIL PROTECTED]>
Date: Monday, October 11, 2004 9:52 am
Subject: trying to create a daemon

> Hi all,
> I am a relative newbie and I need to write a small web server load 
> tester.
> I know there are many tools out there, but I would like to write a 
> simplescript that can login to a webserver, connect to port 
> (whatever port
> number i give it) and do a 'wget https://blah.blah.com :9091".
> 
> While the first part is quite easy, ie writing a perl script to do 
> a wget
> from the server, creating this as a daemon, running many processes
> simultaneously ie. I would like to run 200 to 300 processes, as each
> process would act like a session, stressing the webserver.
> 
> The hard part is having the original perl script fork out 
> processes. I've
> been reading up on fork and signals. does anybody have some 
> suggestions on
> how i can do this?
A good module would be Parallel-ForkManager. It can manage alot off basic IPC for you. 

> 
> Thx,
> Radhika
> 
> 
> 
> -- 
> It's all a matter of perspective. You can choose your view by choosing
> where to stand.
> Larry Wall
> ---
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
> 
> 
> 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to