Scroll to navigation

MULTITAIL(1) User Contributed Perl Documentation MULTITAIL(1)

NAME

multiTail.pl - Read multiple log files. The log files can be written round.

SYNOPSIS

        multiTail.pl [-a] [-d delay] [-p begin|end]
                [--print] [-t] [-o outFile [-m max] [-P]
                 [[-n noFiles] | [-s [-c compressprog]] ]
                ]
                [-C color=pattern [-C color=pattern ...]]
                [-g expression] files...

OPTIONS

    add filename to the output at the beginning of each line
    
    delay in sec. between checking the files (default 5 sec)
    
    read from begin or end of file (default = begin)
    
    print configuration read from configuration file
    or command line and stop
    
    with current time and date in the output
    
    write output to file
    
    maximal len of file written round (default = 1e6)
    
    number of old files to store
    
    write pid to log file (default is not)
    
    write hostname to log file (default is not)
    
    maximal number of lines to read per --delay in one chunk
    from a log file (default = 1000)
    setting this value to 0 means to read all lines immediately
    
    save log files with date and time instead of deleting the
    old (with [-noOfOldFiles])
    
    compress saved log files (e.g. with -c 'gzip -9')
    
    use color for a line if specified pattern matches
    supported colors are:
    'red', 'green', 'yellow', 'blue', 'magenta', 'cyan'
    this option can be used multiple times
    example:
       --color red=ERROR
    
    grep for lines with the specified expression
    example:
       --grep 'ERROR|WARNING'
    
    print version(s)
    

COPYRIGHT

Copyright (c) 2001-2022 by Heinz-Josef Claes (see README) Published under the GNU General Public License or any later version

2022-03-20 perl v5.34.0