Archive for 'Linux Utilities'

Dealing with xauth “error in locking authority file” errors

I recently logged into one of my servers and received the following error: $ ssh foo matty@foo’s password: Last login: Tue Nov 1 13:42:52 2011 from 10.10.56.100 /usr/bin/xauth: error in locking authority file /home/matty/.Xauthority I haven’t seen this one before, but based on previous “locking issues” I’ve encountered in the past I ran strace against [...]

Displaying CPU temperatures on Linux hosts

Intel and AMD keep coming out with bigger and faster CPUs. Each time I upgrade (I’m currently eyeing one of these) to a newer CPU it seems like the heat sinks and cooling fans have tripled in size (I ran across this first hand when I purchased a Zalman CPU cooler last year). If you [...]

Using collectl on Linux to view system performance

I recently needed to figure out what process was generating a bunch of I/O requests on a Linux system. On Solaris, there are a ton of tools available in the DTraceToolkit that can pin down i/o performance consumers. I really miss DTrace coming into Linux. I know there’s Systemtap, but I personally haven’t had much [...]

Useful crontab short cuts

While reading through crontab(5) this morning I came across this useful nugget of information: “These special time specification “nicknames” are supported, which replace the 5 initial time and date fields, and are prefixed by the @ character: @reboot : Run once, at startup. @yearly : Run once a year, ie. “0 0 1 1 *”. [...]

How Redhat 5 and Centos 5 detect hardware at boot

With the introduction of RHEL6 our beloved kudzu was removed from Redhat Enteprise Linux (it’s been gone from Fedora for quite some time). If you’re not familiar with kudzu, RHEL5 and below use it to detect new hardware when a system is bootstraped. All of the functionality that was part of kudzu is now handled [...]

Kudzu removed from RHEL6

With the introduction of RHEL6 the kudzu hardware hardware manager was removed. All of the functionality that was once a par of kudzu has been integrated into the kernel and udev, as evidenced by this e-mail correspondence with one of Redhat’s support engineers: “Kudzu is removed from rhel6. The kernel should be taking care of [...]

« Older Entries   Recent Entries »