Re: How to make a resource intensive script less intensive.

2001-07-08 Thread Jim Conner
I decided to go ahead and use File::Tail. it works like a champ. However, writing my own was quite helpful (or atleast tweaking my own ;)) Thanks all. - Jim At 04:31 PM 7/8/2001 -0400, Walt Mankowski wrote: >On Sun, Jul 08, 2001 at 02:20:40PM -0400, Jim Conner wrote: > > I am writing a scrip

Re: How to make a resource intensive script less intensive.

2001-07-08 Thread Jim Conner
Excellent! I will check that out! - Jim At 04:31 PM 7/8/2001 -0400, Walt Mankowski wrote: >On Sun, Jul 08, 2001 at 02:20:40PM -0400, Jim Conner wrote: > > I am writing a script that is quite cool imo once I get it done. But > > already I am seeing that it takes a ton of system resources. Simp

Re: How to make a resource intensive script less intensive.

2001-07-08 Thread Jim Conner
Ok. So you are thinking it might be the loop then too? TIA - Jim At 11:48 AM 7/8/2001 -0700, Sandor W. Sklar wrote: >you might want to look at "swatch", by Todd Atkins, to see how it is done >there ... > > > >There is a File::Tail module which might work

Re: How to make a resource intensive script less intensive.

2001-07-08 Thread Walt Mankowski
On Sun, Jul 08, 2001 at 02:20:40PM -0400, Jim Conner wrote: > I am writing a script that is quite cool imo once I get it done. But > already I am seeing that it takes a ton of system resources. Simply put, > the script watches a log file (like tail -f) and then reacts to certain > things that

Re: How to make a resource intensive script less intensive.

2001-07-08 Thread Sandor W. Sklar
you might want to look at "swatch", by Todd Atkins, to see how it is done there ... There is a File::Tail module which might work for you as well, or, at least show you another way to do it. -s- At 2:20 PM -0400 7/8/01, Jim Conner wrote: >I am writing

How to make a resource intensive script less intensive.

2001-07-08 Thread Jim Conner
I am writing a script that is quite cool imo once I get it done. But already I am seeing that it takes a ton of system resources. Simply put, the script watches a log file (like tail -f) and then reacts to certain things that occur. I am thinking that the loop that it is in might be taking