linux计时器_Linux计时器源

本文详细介绍了如何在Linux系统中查找当前正在使用的计时器源以及如何获取系统支持的所有可用计时器源。通过简单的命令行操作,读者可以轻松地了解其Linux设备的计时机制。

linux计时器

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?

Linux支持不同的计时器源,一台机器可以有多个计时器源。 如何找到可用的Linux计时器源以及当前使用的计时器源?

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 by anonymous.
匿名回答。

翻译自: https://www.systutorials.com/linux-timer-sources/

linux计时器

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值