Zoetrope

a blog about web apps, Lisp, Rails and all the REST ...

My favourite Dstat

Dag Wieers' Dstat is the ultimate live monitoring tool to catch your servers in the act.

My favourite Dstat command:

dstat -l -c -p -y -m -p -d -n

Which will paint this pretty picture on a wide-enough terminal:

Dstat screenshot

Note the periodical repeating header at the bottom! Dstat is even smart enough to truncate the columns if your terminal can't handle the heat because it's to narrow - marvelous...

tags:

Kernel panic at boot RHEL 5/Centos 5 in Parallels Desktop for Mac

Booting RHEL 5 or Centos 5 for the first time in Parallels Desktop (build 3188) wil get you an instant kernel panic. Just include agp=off as a kernel parameter and the system boots and works like a charm (use 'a' at the Grub screen to edit the kernel parameters).

Afterwards you can edit the /etc/grub.conf to include agp=off by default:

 
title CentOS (2.6.18-8.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-8.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet agp=off
        initrd /initrd-2.6.18-8.el5.img

tags: