]> git.ipfire.org Git - thirdparty/util-linux.git/blob - misc-utils/lsclocks.1.adoc
Merge branch 'wip/rishi/libmount-handle-failure-to-apply-flags-as-part-of-mount'...
[thirdparty/util-linux.git] / misc-utils / lsclocks.1.adoc
1 //po4a: entry man manual
2 = lsclocks(1)
3 :doctype: manpage
4 :man manual: User Commands
5 :man source: util-linux {release-version}
6 :page-layout: base
7 :command: lsclocks
8
9 == NAME
10
11 lsclocks - display system clocks
12
13 == SYNOPSIS
14
15 *lsclocks* [option]
16
17 == DESCRIPTION
18
19 *lsclocks* is a simple command to display system clocks.
20
21 It allows to display information like current time and resolutionof clocks like
22 CLOCK_MONOTONIC, CLOCK_REALTIME and CLOCK_BOOTTIME.
23
24 == OPTIONS
25
26 *-J*, *--json*::
27 Use JSON output format.
28
29 *-n*, *--noheadings*::
30 Don't print headings.
31
32 *-o*, *--output* _list_::
33 Specify which output columns to print. See the *OUTPUT COLUMNS*
34 section for details of available columns.
35
36 *--output-all*::
37 Output all columns.
38
39 *-r*, *--raw*::
40 Use raw output format.
41
42 *-r*, *--time* _clock_
43 Show current time of one specific clocks.
44
45 *--no-discover-dynamic*
46 Do not try to discover dynamic clocks.
47
48 *-d*, *--dynamic-clock* _path_
49 Also display specified dynamic clock.
50
51 include::man-common/help-version.adoc[]
52
53 == OUTPUT COLUMNS
54
55 Each column has a type. Types are surround by < and >.
56
57 TYPE <``string``>::
58 Clock type.
59
60 ID <``number``>::
61 Numeric clock ID.
62
63 CLOCK <``string``>::
64 Name in the form *CLOCK_*
65
66 NAME <``string``>::
67 Shorter, easier to read name.
68
69 TIME <``number``>::
70 Current clock timestamp as returned by *clock_gettime()*.
71
72 ISO_TIME <``string``>::
73 ISO8601 formatted version of *TIME*.
74
75 RESOL_RAW <``number``>::
76 Clock resolution as returned by *clock_getres()*.
77
78 RESOL <``number``>::
79 Human readable version of *RESOL_RAW*.
80
81 REL_TIME <``string``>::
82 *TIME* time formatted as time range.
83
84 NS_OFFSET <``number``>::
85 Offset of the current namespace to the parent namespace as read from */proc/self/timens_offsets*.
86
87
88 == AUTHORS
89
90 mailto:thomas@t-8ch.de[Thomas Weißschuh]
91
92 == SEE ALSO
93
94 *clock_getres*(2) *clock_gettime*(2)
95
96 include::man-common/bugreports.adoc[]
97
98 include::man-common/footer.adoc[]
99
100 ifdef::translation[]
101 include::man-common/translation.adoc[]
102 endif::[]