Note: I may be leaning on an XY Problem; feel free to steer me to a more ideal approach.

I want to keep an eye on multiple remote log files in a small-yet-legible font,
not so much analyzing content as peripherally noticing sudden bursts in activity.

I'm trying to create a Byobu script to tail log files on six remote servers.
I'm used to Vim, but Byobu calls it a vertical split:

enter image description here

Scripted splits chop existing terminals in half, rendering each split smaller, leading to create pane failed: pane too small and a window with vanishing perspective:

Terminal panes uneven splits

I'm new to Byobu. There's surely a way to select a different pane, execute a command, then split, but I can't seem to get the syntax (order?) right.

I expect there's also a command to just "equalize" all panes at once. That would be even more handy.

This question has the manual, unscripted version of what I need.

Years ago I used GNU screen similarly, and it worked great--except using a GUI all day conditions me to use the mouse, so switching between terminals feels clunky. Maybe screen is still the smartest solution. Or tmux? I'm not married to Byobu's chyron readout.

As windows split they divide by 50%, so I'm willing to accept eight terminals if the even halving leads to a smoother execution.

Thanks in advance--any thoughts?

  • Byobu actually used to be based on GNU Screen. – rage Jun 25 '19 at 2:04
  • I thought it was based on t-mux. Interesting--thanks. – zedmelon Jun 25 '19 at 15:47
  • 1
    Or rather a frontend script for t-mux. – zedmelon Jun 25 '19 at 15:55
  • Well now it is, but originally it wasn't. – rage Jun 25 '19 at 22:08

Try using the Shift-F8 hot key to rearrange the splits. You can press it multiple times to cycle through a couple of arrangements that equalizes the spacing of the splits there.

    Shift-F8                     Toggle through split arrangements

Full disclosure: I'm the author and maintainer of Byobu

  • I need something automated that can be put into a script. Basically (screen one: ssh server1; split; select screen two: ssh server2; split) et cetera. All attempts so far have reduced the vertical headroom to the point of failure. Thanks for replying--the UI is really nice! I think my use here is underkill for Byobu. – zedmelon Jun 25 '19 at 22:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.