24 lines
497 B
Bash
Executable File
24 lines
497 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
SESSION=$(cat /proc/sys/kernel/random/uuid)
|
|
|
|
tmux -2 new-session -d -s $SESSION
|
|
|
|
tmux new-window -t $SESSION:1 -n 'Storage Miner'
|
|
|
|
tmux split-window -h
|
|
|
|
tmux select-pane -t 0
|
|
tmux send-keys "watch -n1 './lotus-storage-miner info'" C-m
|
|
|
|
tmux split-window -v
|
|
|
|
tmux select-pane -t 1
|
|
tmux send-keys "watch -n1 './lotus-storage-miner workers list'" C-m
|
|
|
|
tmux select-pane -t 2
|
|
tmux send-keys "watch -n1 './lotus-storage-miner storage list'" C-m
|
|
|
|
|
|
tmux -2 attach-session -t $SESSION
|