1 //po4a: entry man manual
4 :man manual: User Commands
5 :man source: util-linux {release-version}
11 lsclocks - display system clocks
19 *lsclocks* is a simple command to display system clocks.
21 It allows to display information like current time and resolutionof clocks like
22 CLOCK_MONOTONIC, CLOCK_REALTIME and CLOCK_BOOTTIME.
27 Use JSON output format.
29 *-n*, *--noheadings*::
32 *-o*, *--output* _list_::
33 Specify which output columns to print. See the *OUTPUT COLUMNS*
34 section for details of available columns.
40 Use raw output format.
42 *-r*, *--time* _clock_
43 Show current time of one specific clocks.
45 *--no-discover-dynamic*
46 Do not try to discover dynamic clocks.
48 *-d*, *--dynamic-clock* _path_
49 Also display specified dynamic clock.
51 include::man-common/help-version.adoc[]
55 Each column has a type. Types are surround by < and >.
64 Name in the form *CLOCK_*
67 Shorter, easier to read name.
70 Current clock timestamp as returned by *clock_gettime()*.
72 ISO_TIME <``string``>::
73 ISO8601 formatted version of *TIME*.
75 RESOL_RAW <``number``>::
76 Clock resolution as returned by *clock_getres()*.
79 Human readable version of *RESOL_RAW*.
81 REL_TIME <``string``>::
82 *TIME* time formatted as time range.
84 NS_OFFSET <``number``>::
85 Offset of the current namespace to the parent namespace as read from */proc/self/timens_offsets*.
90 mailto:thomas@t-8ch.de[Thomas Weißschuh]
94 *clock_getres*(2) *clock_gettime*(2)
96 include::man-common/bugreports.adoc[]
98 include::man-common/footer.adoc[]
101 include::man-common/translation.adoc[]