angelo270462
Programmer
Hi guys, another newbie I'm afraid. I have written some scripts (.cgi)to tail log files and display the results in a browser. All works well from my machine, but when i try to run from another machine, the script that runs the "tail -f" command just seems to freeze.
From the user end, they click on a link on a web page - this brings up a dir listing of the log files they can tail - each file is a link - once they click on the file they want, another browser pops up displaying the tailed log file.
I have one script to get to the log files, another to read the log dir and convert the output to links, and another one that tails the selected log file.
Even on other machines, it all works fine until the user clicks the file to be tailed and that's when it freezes, although it works fine all the way on mine.
Any suggestions please.
Thanks
Ang
From the user end, they click on a link on a web page - this brings up a dir listing of the log files they can tail - each file is a link - once they click on the file they want, another browser pops up displaying the tailed log file.
I have one script to get to the log files, another to read the log dir and convert the output to links, and another one that tails the selected log file.
Even on other machines, it all works fine until the user clicks the file to be tailed and that's when it freezes, although it works fine all the way on mine.
Any suggestions please.
Thanks
Ang