Paul Kraus wrote:


What I don't understand is to how to have a program running the
monitors a text file for changes?

It needs to be in real time because these machines are dhcp that being
the case I need to get the mac address of the ip being used the very
instance that it is used.

Well, you could point syslog to a named pipe (FIFO), then have your script read from the FIFO. Since you probably want to keep your logs, you'd then need to make sure your script then writes the data to a file, once you've gotten the info you need. Might be a little risky. If your program crashes... Maybe someone else can provide more info.


Brian

--
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