[Gllug] Tail and Apache

Simon Faulkner simon at titanic.co.uk
Tue Jul 8 09:32:42 UTC 2003


I would like to show the ongoing results of a log file using tail and a cgi
shell script:

#!/bin/csh
echo "Content-type: text/html"
echo ""
echo "<H3>LOG"</H3>"
echo "<P>"
echo "<PRE>"
/usr/bin/tail -n 100 -f /var/log/mylog



This works :-)

But will apache ever kill the process when people close their browsers?

What would the 'proper' way to do this be?

Simon


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list