multitail
allows viewing multiple log files in a single terminal window
TLDR
Follow multiple files
$ multitail [file1.log] [file2.log]
Split screen horizontally$ multitail -s 2 [file1.log] [file2.log]
Merge files in one window$ multitail -I [file1.log] -I [file2.log]
Follow with color scheme$ multitail -cS [apache] [access.log]
Execute and follow command$ multitail -l "[command]"
Follow with timestamp$ multitail -ts [file.log]
SYNOPSIS
multitail [options] [files...]
DESCRIPTION
multitail allows viewing multiple log files in a single terminal window. It splits the screen to show different files or merges them with color coding.
The tool provides filtering, searching, and highlighting capabilities for effective log monitoring.
PARAMETERS
-s n
Split in n columns.-I file
Merge file into previous.-l cmd
Execute command and follow.-L cmd
Same as -l but restart on exit.-cS scheme
Color scheme.-ts
Add timestamp.-f
Follow mode.-i file
Add file in new window.-n lines
Number of lines per window.-m lines
Scrollback buffer size.
CAVEATS
Complex layouts take practice. Color schemes need configuration. Many files may clutter display. Resource usage scales with files.
HISTORY
multitail was created by Folkert van Heusden to extend tail's functionality to multiple files. It addresses the common need to monitor several log files simultaneously.
