How to set up a shell script to monitor load averages

How to set up a shell script to monitor load averages

Here is a handy bash script that can be used to send email notifications when a specific server is under high load. In the event that there is no other monitoring solution in place this script can be scheduled as…

Setting up an Amazon AWS elastic load balancer

Setting up an Amazon AWS elastic load balancer

If you have multiple Amazon AWS instances that require load balancing you can set this up quite quickly in the management console. The benefit of having a load balancer is that you can have a single point to connect to,…

A look at CrunchBang Linux

A look at CrunchBang Linux

I’ve done quite a bit of severe distro-hopping to find a reasonable distro to use on an old Dell XPS M1330, which is my work laptop at the moment. I eventually figured out that I would like something light-weight but…

How to delete files by age

Say your server is low on disk space and you have a large amount of old log files that can be deleted to free up some space. You only want to delete files older than i.e. 20 days. mtime +20…

How to find large files

One of the beauties of Linux is that you can combine multiple commands to get exact results. For example if you have loads of files in your home drive, here’s how to find files larger than a certain size, listing…