On Thu, Jun 28, 2001 at 09:51:19AM -0400, Ronald J. Yacketta wrote:
> to make a long story short I have a req to-do the following. 1) gather
> continues data from netstat -I hme0 $SLEEPTIME > $netstatTMPFILE & while
> still parsing other information/data etc..

Given David M. Lloyd's suggestion to open a handle on netstat output, you
still need to read from the handle, which is a blocking operation.  Unless
you've already got a framework built for reading chunks from a filehandle
then continuing on to process other things, you'll probably need an event
loop, or a select loop, to go with this.

What is it this is intended to accomplish?  What is the program you're
writing?  Perhaps it would benefit from POE or Event.pm.


Michael
--
Administrator                      www.shoebox.net
Programmer, System Administrator   www.gallanttech.com
--

Reply via email to