Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What do I need to do to get LatencyTop working on Centos 6.2?

Does it involve compiling a debug kernel with some extra flags?

Both the man page and the website are very short of information.


EDIT: I should have been more specific, sorry, my bad. I've installed it fine from an rpm. But apparently the stock Centos 6.2 kernel doesn't support it:

mount: none already mounted or /sys/kernel/debug/ busy
mount: according to mtab, none is already mounted on /sys/kernel/debug
Xlib:  extension "RANDR" missing on display "localhost:10.0".
The running kernel does not support latencytop. Please use kernel-debug.

No idea how to install and use kernel-debug safely though, if this is the only extra thing that needs to be done. Does anyone have any pointers?

Thanks again.

share|improve this question
up vote 2 down vote accepted

LatencyTOP requires you to rebuild the kernel and enable the CONFIG_LATENCYTOP parameter if you wish to use a standard kernel version. Yes, the package downloads and installs, but the flag is not enabled by default, hence the error message you see.

Your other option is to heed the error message and install the kernel-debug package. Reboot with the new kernel set as the boot kernel (either choose manually in the grub menu or edit grub.conf).

The note about debugfs is a red herring. Pay attention to: "The running kernel does not support latencytop. Please use kernel-debug."

The next issue is that LatencyTop is an X11 application. Hopefully you have those libraries installed. I enable X11 forwarding through ssh (ssh -X hostname) and am able to view the LatencyTOP window remotely.

enter image description here

share|improve this answer
Nice one, thanks. I'll try with kernel-debug. – Andrew Clegg Jun 15 '12 at 13:00

It's included in the RPMForge repository, so you just have to include this repo in your system and then install it with yum install latencytop.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.