]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsclocks: (man) list supported clock types
authorThomas Weißschuh <thomas@t-8ch.de>
Tue, 3 Jun 2025 16:05:30 +0000 (18:05 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Tue, 3 Jun 2025 16:05:30 +0000 (18:05 +0200)
Document the different types of clocks that are supported by lsclocks(1).

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
misc-utils/lsclocks.1.adoc

index 12a425bf32dc2959d78688b89ef1c882cf0ab432..cfe984d5e6e78336eb162fad7f6e4d8af1ac8b85 100644 (file)
@@ -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