From 98f4e4833c556291324376a7d55ad0280f4111f2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Wei=C3=9Fschuh?= Date: Tue, 3 Jun 2025 18:05:30 +0200 Subject: [PATCH] lsclocks: (man) list supported clock types MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Document the different types of clocks that are supported by lsclocks(1). Signed-off-by: Thomas Weißschuh --- misc-utils/lsclocks.1.adoc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/misc-utils/lsclocks.1.adoc b/misc-utils/lsclocks.1.adoc index 12a425bf32..cfe984d5e6 100644 --- a/misc-utils/lsclocks.1.adoc +++ b/misc-utils/lsclocks.1.adoc @@ -18,8 +18,13 @@ lsclocks - display system clocks *lsclocks* is a simple command to display system clocks. -It allows to display information like current time and resolution of clocks like -CLOCK_MONOTONIC, CLOCK_REALTIME and CLOCK_BOOTTIME. +It allows to display information like current time and resolution of clocks. +Different kinds of clocks are supported. + +* POSIX clocks: *CLOCK_MONOTONIC*, *CLOCK_REALTIME*, *CLOCK_BOOTTIME*\, etc. +* CPU clocks: *clock_getcpuclockid()*. +* PTP clocks: */dev/ptp0*. +* RTC clocks: */dev/rtc0*. == OPTIONS -- 2.39.5