I have been posting *nix apps and news to a new Tumblr called Terminal Dreams for those interested in that sort of thing.
I manage many servers in my line of work and have found a few things to make life a little easier when it comes to SSH’ing into them when I start my laptop up.The first of these is maintaining an up to date ssh config file which is kept in ~/.ssh that allows me to alias the server address and key. A basic entry in the config file would be for an Amazon Web Services EC2 instance:
Once you have all your servers in the config file I create a very simple script to start gnome-terminal with each group of servers:
gnome-terminal --tab --title=prod-servername01 -e 'ssh prdo-servername01' --tab --title=prod-servername02 -e 'ssh prod-servername02'
From the above example you can get the idea of adding more tabs for each additional server. I then create desktop or menu shortcuts for each grouping of server to launch a terminal and ssh into all in the group.
I tend to always need to find the huge log files that are filling up servers. One fast way is to use find and awk to list them in human readable form:
Int he above example I am using find / which will search entire root filesystem. You can change this to /var/log of any path you want to find the largest files. You can also change the 20000k to a smaller or larger size (20000k = 19.53 MB).