4,348
edits
iwu |
add description from package |
||
(3 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 = | ||
<code>/</code> - Search in all windows | <code>/</code> - Search in all windows | ||
<code>Shift + /</code> - Search and highlight in all windows | <code>Shift + /</code> - Search and highlight in all windows | ||
<code>I</code> - Toggle case sensitivity for searches | |||
<code>b</code> - Scroll back | <code>b</code> - Scroll back | ||
<code>B</code> - Scroll back in all windows merged into one window | <code>B</code> - Scroll back in all windows merged into one window | ||
<code>a</code> - add a new window or add another file/program to an existing window | <code>a</code> - add a new window or add another file/program to an existing window | ||
Line 49: | Line 69: | ||
<code>y</code> - Set linewrap | <code>y</code> - Set linewrap | ||
<code>T</code> - Truncate a logfile | <code>T</code> - Truncate a logfile | ||
Line 65: | Line 81: | ||
<code>t</code> - Statistics | <code>t</code> - Statistics | ||
<code>o</code> - Wipe (clear) a window | |||
<code>O</code> - Wipe all windows | |||
<code>j</code> - Set window sizes | <code>j</code> - Set window sizes | ||
Line 87: | Line 107: | ||
<code>P</code> - (un-)pause one window | <code>P</code> - (un-)pause one window | ||
<code>q</code> - Quit |