Alexei Navalny: Putin critic 'probably poisoned' – doctors
bbc.com1 pointsby dancek0 comments
#!/bin/sh
set -e
SESSION=example
WINDOW=dashboard
tmux new-session -d -s $SESSION -n $WINDOW "journalctl -fk"
tmux set-option -t $SESSION -g mouse on
tmux split-window -h -t $SESSION:$WINDOW "journalctl -fu nginx"
tmux split-window -h -t $SESSION:$WINDOW "journalctl -fu postgresql"
tmux select-layout -E
tmux split-window -v -t $SESSION:$WINDOW "echo '<Ctrl-b d> to detach' && read"
tmux select-pane -t $SESSION:$WINDOW.0
tmux split-window -v -t $SESSION:$WINDOW "watch uptime"
tmux select-pane -t $SESSION:$WINDOW.2
tmux split-window -v -t $SESSION:$WINDOW "watch df -h"
tmux attach-session -t $SESSION
# after detaching, close session
tmux kill-session -t $SESSION 2>/dev/null || true
Obviously code designed for a GPU is much faster. You could probably build a reasonable OS that runs on the GPU.