Hacker News new | ask | show | jobs
by _wldu 1988 days ago
Running tmux or screen with top in one window should fix it.
2 comments

What happens when it doesn't? I've messed with my ssh config and TCP keepalive settings. I've made sure to set my computer to not go to sleep when I have open network connections. No matter what I do, if I leave the terminal window open overnight and come back in the morning, I get a broken pipe and have to log back into my cluster, and reattach my tmux session. I've pretty much just given up on finding a solution.
Or just display the clock in the tmux status bar.
By default `<prefix> t` shows a clock in the current pane, really handsome looking and it scales nicely as the pane changes shape.