Seems like we are on a bit of a roll with regard to the topic of versioning lately. Yesterday Legooolas commented about using version control for your home directory. I do and I’ll cover that in a different post but I use it for a different task. Now on to todays topic. Do you keep track of configuration changes? You should. Maybe your using an advanced configuration management system like puppet.
Every time I have a new shell account I end up customizing it. Making alterations to my vimrc, screenrc or whatever. It can be a huge pain when you have lots of slightly varying configs on different machines. I wrote this little script to grab my files and create a self extracting shell script so I can easily setup my environment on multiple machines.
Waddya know I’m not the only geek with an affinity for the console. This could be interesting. Repository of useful one liners.
Yesterday I wrote about CPU Performance Analysis in Linux. I explained how to tell if you are experiencing a CPU bottleneck. This is just a quick followup to show the effect of adding more cpu power.
A while back I wrote a post Analyzing Linux System Performance and Finding Bottlenecks. I did’t really give a good explanation of determining if you are CPU bound or not so I am writing this post to clear that up.
Have you ever experienced hard lockups and seen no trace of the cause in your log files? Those situations can be even more of a pain if you do not have physical access to the machine since you will not be able to look for kernel oops on the console. You could buy a serial console or an ip kvm but if you don’t have the need for remote control, but would really like to be able to debug without being physically present you need to check out netconsole. Netconsole sends printk messages over UDP.
Ever run into a situation where passing the option single to the kernel wasn’t enough to get your root password reset? This is not Debian specific but some distros (including Debian) require that you still enter the root password when booting to single user mode. This is just a quick run through of how to reset your root password without a live cd.
I was restoring some files from backup today and ran into a few files that had leading slashes. Whenever I see those kind of things I rename the files since they are a pain to work with in the shell. If you find yourself at a shell and need to work with files that have a leading dash just use the relative path and include the dashed filename in quotes.
I posted about Tom Limoncelli and his Time Management for System Administrators. I have written a simple wrapper to do pre and post processing of a todo file as it is opened and closed to somewhat mirror “the cycle”. If your interested you can find a bit more information on todo-cycle here.
It’s not new news but I havent seen anyone else mention it. Ben Rockwood over at cuddletech had his second SA Pro podcast with Tom Limoncelli, it covers time management. It’s a good listen, I’m still waiting for him to setup a feed for the podcasts. Tom has some good advice, I have picked up a few things and read his Time Management for System Administrators since listening to the podcast.