Secret Kernel Info Keys

This one classifies as one of the less useful LinuxGems we’ve captured to date, but it gets huge bonus points for being so cool. As it turns out the kernel will dump some of its state variables directly to the terminal any time you hit the correct key combo.This ones easy. Just switch to an actual kernel terminal. If are in X and you haven’t mucked with to much of your setup you can just hit Ctrl-Alt-F1. If your not in X then you are ready.

The secret keystrokes are:

  • Shift-Scroll Lock = For memory allocation information
  • Ctrl-Scroll Lock = For kernel state info. I don’t actually know, but this looks like a call trace for the last couple of process to get CPU time.

BTW, if you need to switch back to X it is usually Ctrl-Alt-F7.

Leave a Reply

Your email address will not be published. Required fields are marked *