Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In Byobu 5.17 (using tmux 1.6), how ought I format the windows.tmux file? I've poked around a bit, but have been unable to find a proper answer.

For reference, here's the screen version of what I want:

screen -t log watch -n 10 tail -n 5 /var/log/syslog /var/log/auth.log /var/log/ dmesg
screen -t mem watch -n 30 "df -h; echo ""; free -mt"
screen -t top top
screen -t bash /bin/bash

Many thanks.

share|improve this question
Is this really still not answerable? I haven't seen any windows.tmux instructions out there yet. –  Tohuw Nov 9 '13 at 16:35

1 Answer 1

Something like this should work, but you might also want to look into tmuxinator to specify tmux profiles in YAML.

new -s tmuxs # creates a new tmux session, replace "tmuxy" with whatever you'd like to name the session
new-window -n log 'watch -n 10 tail -n 5 /var/log/syslog /var/log/auth.log /var/log/dmesg'
new-window -n mem 'watch -n 30 "df -h; echo ""; free -mt"'
new-window -n top 'top'
new-window -n bash

It's pretty self explanatory, create a session and then start creating windows, naming them via '-n' and including the command you want to run as the last argument.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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