A combination of the tmux commands: list-sessions list-windows and list-panes
~ $ tmux-panes.sh
ID Session Start Session Window Pane Path
$0:@0:%0 22 Dec 17:46 bruno 0/2:bash- 0/1:bash /home/pi/src/dotfiles
$0:@1:%1 22 Dec 17:46 bruno 1/2:top* 0/2:top /etc/systemd/system
$0:@1:%2 22 Dec 17:46 bruno 1/2:bash* 1/2:bash /home/pi
$1:@2:%3 22 Dec 19:22 shared 0/1:bash* 0/1:bash /root
I'd like to make it a little more "graphical" like the output of
tmux choose-tree
, but this is a start.