AT work we use something called 'screen', but, i don't know anything about it other than the name and how to use it so that i can open as many ssh windows as i'd like, and easily switch through them. It also retains the program information even if your initial ssh window closes for some reason.
SSH to server #1 and start screen. Screen lets you have multiple sessions going at once. Start top on server #1.
Then within your screen session on server #1, open a new 'window' for each of the other servers and open SSH connections to each of them and start top.
Then, if you lose your connection to server #1, you just reconnect and type screen -dr.
Some helpful screen shortcuts:
CTRL-A C - start a new window within a screen session
CTRL-A CTRL-A - cycle through the different open windows
CTRL-A D - disconnect from your screen session (leaving it running in the background)
I was also going to recommend screen in a similar configuration. The most recent CVS version lets you split the screen vertically, IIRC, though I haven't tried it.
It's not perfect, but Putty Connection Manager is essentially exactly what you're looking for. You'll still have to type "top" into each server? but I suppose you could put that in your shell's login script if the majority of times you log in you want top and you wouldn't mind exiting it on those instances where you want to do something else.
(I realize the ridiculousness of saying "it's not perfect, but it's exactly what you want." What I meant by that is that it does what YOU want (manage connection profiles, support quick reconnection, easily tile or tabify multiple windows) but has a few other weaknesses.)
Just drag a tab on top of another tab and it will pop up with a fancy image. By dragging it onto one of the four directional images it'll position the tab that you're dragging in that place relative to the tab you're dragging on top of. If you drop it in the middle it'll put it as a tab in the same "space" as the drop target.
Once you've got your tiling set up you can drag the dividing bars to resize the grid.
screen's good, but with 8 servers it might be worth your while to set up a monitoring app like Nagios or Cacti to ssh in every few minutes, take stats, and make graphs for your perusal.
I second this. There's no good reason to run top on a bunch of servers where there are perfectly good monitoring tools to do the thinking for you. Zabbix and Nagios are pretty good. Constantly checking server statuses is bad for your mental health.
I haven't used one this century, but they always had tons of crazy features... macros, triggers, regex parsing, highlighting, autoconnect and so forth. You can be totally 1337.
The server has stopped responding. You see an error code. > Get error code You can't pick that up! > Kick error code You kick the error code, and it growls back at you. > N You fall off the edge of your connection and into the abyss of the internet.
Comments 31
Reply
SSH to server #1 and start screen. Screen lets you have multiple sessions going at once. Start top on server #1.
Then within your screen session on server #1, open a new 'window' for each of the other servers and open SSH connections to each of them and start top.
Then, if you lose your connection to server #1, you just reconnect and type screen -dr.
Some helpful screen shortcuts:
CTRL-A C - start a new window within a screen session
CTRL-A CTRL-A - cycle through the different open windows
CTRL-A D - disconnect from your screen session (leaving it running in the background)
Reply
Reply
Reply
Reply
Reply
Reply
Once you've got your tiling set up you can drag the dividing bars to resize the grid.
Reply
Reply
Reply
Reply
(The comment has been removed)
Reply
Reply
CMud Pro on this page:
https://www.zuggsoft.com/store/home.php
I haven't used one this century, but they always had tons of crazy features... macros, triggers, regex parsing, highlighting, autoconnect and so forth. You can be totally 1337.
Reply
Reply
> Get error code
You can't pick that up!
> Kick error code
You kick the error code, and it growls back at you.
> N
You fall off the edge of your connection and into the abyss of the internet.
The end, your score was 0/10. You suck!
Reply
Leave a comment