Take the 2-minute tour ×

Is there a global variable that can be read? From 2.6 kernel, its configurable so I can't be too sure that the default value was indeed used. I am using 'crash' for debugging the kernel core dump.

share|improve this question

2 Answers 2

It is configured during in kernel's .config during compilation. Check your .config file; search for CONFIG_HZ_; in my config HZ is 250(CONFIG_HZ_250=y). Usually, .config file is present inside directories of "/lib/modules/"

share|improve this answer

Today several Linux kernels don't use a static frequency but change it dynamically during runtime, so there is no global variable you could read.

share|improve this answer

Your Answer


