2019-11-30 14:15:05 +00:00
|
|
|
# multitail
|
|
|
|
|
|
|
|
> Extension of tail.
|
2021-07-02 20:22:57 +01:00
|
|
|
> More information: <https://manned.org/multitail>.
|
2019-11-30 14:15:05 +00:00
|
|
|
|
|
|
|
- Tail all files matching a pattern in a single stream:
|
|
|
|
|
|
|
|
`multitail -Q 1 '{{pattern}}'`
|
|
|
|
|
|
|
|
- Tail all files in a directory in a single stream:
|
|
|
|
|
2022-12-04 09:12:49 +00:00
|
|
|
`multitail -Q 1 '{{path/to/directory}}/*'`
|
2019-11-30 14:15:05 +00:00
|
|
|
|
|
|
|
- Automatically add new files to a window:
|
|
|
|
|
|
|
|
`multitail -Q {{pattern}}`
|
|
|
|
|
|
|
|
- Show 5 logfiles while merging 2 and put them in 2 columns with only one in the left column:
|
|
|
|
|
2024-01-31 03:55:19 +00:00
|
|
|
`multitail -s 2 -sn 1,3 {{path/to/mergefile}} -I {{path/to/file1}} {{path/to/file2}} {{path/to/file3}} {{path/to/file4}}`
|