Ubuntu has a package for it, but it only works if you're running their kernel (with all the modules).
Otherwise, you have to fiddle with grub entries to get it to make a data file, then download a Java app to post-process the data file.
Kind of a hassle but it's fun to look at the output.