MULTITAIL(1)

πŸ“¦ version 3.5.2, in nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ’– MULTITAIL(1) πŸ’–

okay so this is the User Contributed Perl Documentation page for multiTail.pl, bestie. It is lowkey iconic for watching a whole pile of log files at once, and the log files can be written round. ✨

🌸 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 πŸ’…

  • -a, --addName β€” add the filename to the output at the beginning of each line. name tags in the group chat, but for logs πŸ’–
  • -d, --delay β€” delay in sec. between checking the files (default = 5 sec). patience is a vibe ⏳
  • -p, --position β€” read from begin or end of file (default = begin). start at the top or jump to the end, your call πŸŽ€
  • --print β€” print configuration read from configuration file or command line and stop. show the receipts, then dip 🫢
  • -t, --withTime β€” with current time and date in the output. timestamps slay ⭐
  • -o, --out β€” write output to file, specifically outFile from the synopsis. logs but make it a file πŸ’Ύ
  • -m, --maxFilelen β€” maximal len of file written round (default = 1e6). keep it from getting too thicc πŸ¦‹
  • -n, --noOfOldFiles β€” number of old files to store. hoard a few, but not forever 🌈
  • -P, --withPID β€” write pid to log file (default is not). PID energy: optional but cute πŸ‘‘
  • -H, --withHostname β€” write hostname to log file (default is not). hostname cameo: also optional 🫢
  • -l, --maxlines β€” 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 β€” no cap, all of them, immediately 😭
  • -s, --saveLogs β€” save log files with date and time instead of deleting the old (with [-noOfOldFiles]). preserve the lore πŸ“š
  • -c, --compressWith β€” compress saved log files (e.g. with -c 'gzip -9'). zip it and make it smol πŸ“
  • -C, --color β€” 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 rainbow-ify your grep results πŸ’…
  • -g, --grep β€” grep for lines with the specified expression. Example: --grep 'ERROR|WARNING' filter the noise, keep the drama πŸ”₯
  • -V β€” print version(s). version check, bestie ✨

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


πŸ’– cute little sign-off: source/version is perl v5.34.0, date is 2022-03-20, and the manual is MULTITAIL(1). bye bestie, go watch those logs! πŸ¦‹

πŸ“¦ where this page comes from