Conquer Club

Anyone decent with Perl?

\\OFF-TOPIC// conversations about everything that has nothing to do with Conquer Club.

Moderator: Community Team

Forum rules
Please read the Community Guidelines before posting.

Anyone decent with Perl?

Postby MrConfigT on Tue Jul 18, 2006 10:06 am

I currently have a perl script...

In this script I ping some hosts read from a host database table in mysql. I right now if I ping each host 10 times and each ping takes a second, then I can only do 6 hosts a minute. I need this script to run every minute. And I have hundreds of hosts (theoritcally). So I need to build in some 'threading' capability.

I need it to ping these hosts concurrently and I'm pretty new to perl. Will calling fork() work for this? Also, would anyone be willing to take a look at some code to see where I would need to fork (or whatever) for this to work?
User avatar
Corporal 1st Class MrConfigT
 
Posts: 450
Joined: Tue Jan 24, 2006 9:42 am

Postby autoload on Mon Feb 25, 2008 4:55 am

Can anybody help this guy?
User avatar
Major autoload
 
Posts: 3735
Joined: Wed Apr 19, 2006 12:37 am

Postby Skittles! on Mon Feb 25, 2008 5:02 am

autoload wrote:Can anybody help this guy?

I'm saddened to tell you that he cannot be helped.
KraphtOne wrote:when you sign up a new account one of the check boxes should be "do you want to foe colton24 (it is highly recommended) "
User avatar
Private Skittles!
 
Posts: 14575
Joined: Wed Jan 03, 2007 2:18 am

Postby MeDeFe on Mon Feb 25, 2008 6:02 am

Isn't that the "Tim Towdi" language? If so you should have a lot of possibilities to implement that. The downside is that you have dozens of ways of implementing it.
saxitoxin wrote:Your position is more complex than the federal tax code. As soon as I think I understand it, I find another index of cross-references, exceptions and amendments I have to apply.
Timminz wrote:Yo mama is so classless, she could be a Marxist utopia.
User avatar
Major MeDeFe
 
Posts: 7831
Joined: Thu Apr 06, 2006 2:48 am
Location: Follow the trail of holes in other people's arguments.

Postby hecter on Mon Feb 25, 2008 3:31 pm

Perl is the language of the Nazi's...
In heaven... Everything is fine, in heaven... Everything is fine, in heaven... Everything is fine... You got your things, and I've got mine.
Image
User avatar
Private 1st Class hecter
 
Posts: 14632
Joined: Tue Jan 09, 2007 6:27 pm
Location: Tying somebody up on the third floor

Postby heavycola on Mon Feb 25, 2008 4:17 pm

I'm good at perl necklaces, if that's any use
Image
User avatar
Corporal 1st Class heavycola
 
Posts: 2925
Joined: Thu Jun 01, 2006 10:22 am
Location: Maailmanvalloittajat

Postby SolidLuigi on Mon Feb 25, 2008 9:52 pm

I took 1 class in college where we learned some Perl...not to say I remembered any of it
Image
User avatar
Private SolidLuigi
 
Posts: 441
Joined: Sat Jan 13, 2007 10:33 pm
Location: Outer Heaven

Postby InkL0sed on Mon Feb 25, 2008 10:04 pm

I want to learn Perl. Unfortunately I don't. :(

But I am crazy good at NetLogo!
User avatar
Lieutenant InkL0sed
 
Posts: 2370
Joined: Sat Jun 23, 2007 4:06 pm
Location: underwater

Postby Geoff_with_a_G on Tue Feb 26, 2008 8:22 am

Yes, me!...unlike most of her so-called 'boyfriends'
1956 9apr08
1983 11apr08
1984 3jun08
2008 12jun08
2051 22jun08
2107 27jun08
2107 23jul08
2134 15May09
2174 17may09
2245 29may09
2316 31may09
2367 1jun09
2439 7jun09
2059 14oct13
2116 15oct13
2137 13jan14
2150 17jan14
2178 26jan14
1807 23oct17
1858 3jan22
User avatar
Captain Geoff_with_a_G
 
Posts: 133
Joined: Sat Aug 11, 2007 1:05 am
Location: Wellington


Return to Acceptable Content

Who is online

Users browsing this forum: No registered users