▲ | accrual 6 days ago | |||||||
> I would be interested to also hear from folks using tmux as a process manager / dashboard for server-type environments Sure! I use tmux on most of my OpenBSD systems and copy the same .tmux.conf file around, but rarely tweak it other than to set a hostname. My status bar is at the top and looks approximately like this:
* The first two windows (--) are regular shells.* The tilde window (~) is where I do stuff as root. * The message window (msg) tails `/var/log/messages` and `/var/log/daemon`, or `journalctl -f` and `journalctl -k -f` on Linux. * The auth window (auth) tails `/var/log/authlog` to monitor login attempts and usage of doas and sudo. * The pf window (pf) runs a script to monitor the packet filter rules (pass, block, match). * hostname is just the hostname. The period (.) means no mail, it turns to an exclaimation mark (!) when I have mail. * Simple date/time. This setup gives me quick access shells, important logs, mail status, date/time, and works the same on every server I manage. I add extra windows to tail other app logs as needed. | ||||||||
▲ | quesera 6 days ago | parent [-] | |||||||
> but rarely tweak it other than to set a hostname In case helpful: You can use `#h` in a status line string to get the hostname | ||||||||
|