mirror of
https://github.com/kneutron/ansitest.git
synced 2025-01-16 04:42:55 +08:00
21 lines
591 B
Bash
21 lines
591 B
Bash
#!/bin/bash
|
|
|
|
ff # fix fontsize
|
|
|
|
useprog=open
|
|
[ -e $(which openvt) ] && useprog=openvt
|
|
# open 4-pane screen on vt10
|
|
setterm -blank 0 2>/dev/null
|
|
|
|
uset=$(which tmux)
|
|
|
|
#( TERM=linux $useprog -f -c 10 -s -w -- /usr/bin/tmux -S topscrn410 -c /root/.screenrc-mon1-combined ) &
|
|
( TERM=linux $useprog -f -c 10 -s -w -- $uset -S topTM410 tmux new-session \; \
|
|
send-keys 'top -d15' C-m \; \
|
|
split-window -v \; \
|
|
send-keys 'bwm-ng -t 2000' C-m \; \
|
|
split-window -h \; \
|
|
send-keys 'iostat -k -s -y -z 5' C-m \;
|
|
split-window -h \; \
|
|
send-keys 'watch -n 61 /home/dave/bin/mon1-df-short' ) &
|