ansitest/topscrn4-xterm.sh

14 lines
580 B
Bash
Raw Normal View History

2022-02-22 21:20:39 -06:00
#!/bin/bash
2022-02-22 21:24:56 -06:00
# This is useful with Maximized lxterminal, xfce4-terminal, etc where you can easily resize the font
# if using ssh Use: ssh -t localhost /$HOME/bin/topscrn4-xterm.sh
2022-02-22 21:20:39 -06:00
# open 4-pane screen with sys monitoring
2022-02-22 21:24:56 -06:00
# Requires: bwm-ng top screen iostat watch openvt/open
# Requires other files: dot-screenrc-mon1-combined ( renamed as .screenrc-mon1-combined in user's home dir )
# ^^ mon1-df-short in /usr/local/bin
2022-02-22 21:20:39 -06:00
2022-02-22 21:24:56 -06:00
# if we try to throw it in the BG, get "screen must be connected to a terminal" error - must be FG
TERM=linux screen -R -c $HOME/.screenrc-mon1-combined