Had a request to do a script recently for work in which they want a tail of the logs on one of the servers to be thrown into an html page to be viewed on another machine. This seemed a fairly easy task just using net::ssh and net::scp to tail the file and pipe it into another then grab the result with scp.
What I found out today was that what is requested is that the log be put on a continuous tail and they want this to be outputted continuously to the other machine. Has anyone ever tried this before or something similar that might have some pointers on which direction I should set out on to accomplish this?
Thanks, Vin




Reply With Quote