4,348
edits
add description from package |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
MultiTail lets you view one or multiple files like the original tail | |||
program. The difference is that it creates multiple windows on your | |||
console (with ncurses). It can also monitor wildcards: if another file | |||
matching the wildcard has a more recent modification date, it will | |||
automatically switch to that file. That way you can, for example, | |||
monitor a complete directory of files. Merging of 2 or even more | |||
logfiles is possible. | |||
It can also use colors while displaying the logfiles (through regular | |||
expressions), for faster recognition of what is important and what not. | |||
Multitail can also filter lines (again with regular expressions) and | |||
has interactive menus for editing given regular expressions and | |||
deleting and adding windows. One can also have windows with the output | |||
of shell scripts and other software. When viewing the output of | |||
external software, MultiTail can mimic the functionality of tools like | |||
'watch' and such. (from '''package description''') | |||
{{testedon|2019-11-11|multitail 6.4.2-1.el7,RHEL 7.7}} | |||
= Phrasebook = | = Phrasebook = | ||
Line 9: | Line 25: | ||
</source> | </source> | ||
Viewing all merged logs in different colors (except for api*.log) in one window | |||
<source lang="bash"> | |||
$ multitail --mergeall -c- -Iw 'api-*.log' 10 -C -Iw 'laravel-*.log' 10 -Iw '/var/log/nginx/*log' 1000 -Iw '/var/log/redis/*.log' 1000 -cs -Iw '/var/log/anaconda/syslog' 100 | |||
</source> | |||
= Keyboard shortcuts = | = Keyboard shortcuts = |