ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
tail.php File Reference

Go to the source code of this file.

Variables

 if ( $argc< 2)
 This example can be used to logfile processing and basically wraps the tail command. More...
 
 $tail = popen('tail -fn0 ' . escapeshellarg($argv[1]), 'r')
 

Variable Documentation

◆ $tail

$tail = popen('tail -fn0 ' . escapeshellarg($argv[1]), 'r')

◆ if

if($argc< 2)

This example can be used to logfile processing and basically wraps the tail command.

The benefit of using this, is that it allows you to tail multiple logs at the same time

To stop this application, hit CTRL-C

Definition at line 13 of file tail.php.