Linux timer sources

Linux supports different timer sources and a machine can have multiple ones. How to find the available Linux timer source and the current one used?

asked Jan 21, 2014 by anonymous

1 Answer

Best answer

Find the current timer source:

$ cat /sys/devices/system/clocksource/clocksource0/current_clocksource

Find all available timer sources:

$ cat /sys/devices/system/clocksource/clocksource0/available_clocksource 
answered Jan 21, 2014 by anonymous

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost