4 ms·
htop and multitail are always tied for me.
by brightball 5y ago
htop and multitail are always tied for me.
- nerdponx 5y agohttps://linux.die.net/man/1/multitail https://linux.die.net/man/1/multitail I never heard of this one before. What's the benefit instead of doing this with Tmux?
- brightball 5y agoBiggest thing is if you’re doing a streaming tail with an * pattern, it figures it out and filters them into proper groups instead of a single blob stream. I didn’t know you could something like that we tmux though. I’ll have to check it out. :)
- nerdponx 5y agoYou can't, I was just talking about tailing multiple files in Tmux splits.
- ggregoire 5y ago> multitail You just made my day. I always open multiple ssh sessions just to display various logs at the same time. Seems like you can even docker-compose logs -tf | multitail -j. edit: I never took the time to learn tmux but after just watching a use case video, seems like you could achieve the same result with tmux indeed, as the other comment suggested.
- kzrdude 5y agotmux or gnu screen work fine (screen is sometimes installed when tmux is not)
- tstack 5y agoIf you're open to new tools, the latest version of the Logfile Navigator (lnav) supports remote hosts over ssh: https://lnav.org/2021/05/03/tailing-remote-files.html https://lnav.org/2021/05/03/tailing-remote-files.html The main advantages of lnav over multitail is that it collates log files by time and does syntax highlighting. There are many other features as well -- https://lnav.org/features https://lnav.org/features