Linux tips

Huge List of Tips and Tricks

I can’t believe I never saw this before. Sourceforge has an absolutely HUGE list of tips and tricks. There’s hundreds of Linux tips and lots of programming tips as well.

Using CPAN Unattended

CPAN is great for easily installing and updating Perl modules. I use it all of the time on my servers. It’s a lot easier than managing Perl modules through the systems package manager. The problem is, when you want to install or update a Perl module, it asks you if you want to follow and install all of the dependencies and the dependencies for that… and so on. Sometimes you want to be anal and make sure it doesn’t install any extra crap, but quite often, it would be nice to just have it install what it needs automatically, so you can walk away and do other things while it’s installing.

Quick and Dirty Linux Load Testing

Today I had a need to keep the load on a server at 20 for an extended period of time. I was doing this to test notification escalations in Nagios. So, I found a nice little program call cpuburn-in that will load a processor at 100%. It’s just a tarball with an executable and a single README file included. To run the program, call the executable and supply the number of minutes you want it to run.

Quickly get up to 5% more disk space from your ext3 volumes

I’ve seen many websites that have pretty much the same ext3 performance tips, but I just came across this one today that had something very useful on it. It turns out that the ext3 filesystem by default reserves 5% of the disk space of the volume just in case the volume fills up. This would allow the system to continue running and allow the root user to still log in and clean things up.