Paul Kraus wrote:
I want to write an app that starts up when squid starts that will
monitor access.log. everytime a line is written out to the log file
the script will parse the line and then do some "stuff to it" I don't
need any help with the stuff part :)
What I don't understand is to how to hav
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,
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,
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 coul
Dear Paul,
Have a think about read and sysread:
perldoc -f read
perldoc -f sysread
As they both return the number of bytes read, you can just loop until you
get something to work with. What you get will be a string of bytes - you
will need to massage them a little. If you get zero bytes, well
AM
To: [EMAIL PROTECTED]
Subject: Monitor Squid access.log
I want to write an app that starts up when squid starts that will
monitor access.log. everytime a line is written out to the log file
the script will parse the line and then do some "stuff to it" I don't
need any help with the s
I want to write an app that starts up when squid starts that will
monitor access.log. everytime a line is written out to the log file
the script will parse the line and then do some "stuff to it" I don't
need any help with the stuff part :)
What I don't understand is to how to have a program runni