]> git.ipfire.org Git - thirdparty/util-linux.git/blame - misc-utils/lsclocks.1.adoc
Merge branch 'sed' of https://github.com/t-8ch/util-linux
[thirdparty/util-linux.git] / misc-utils / lsclocks.1.adoc
CommitLineData
e9ddea79
TW
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
11lsclocks - 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
8440f1e1 21It allows to display information like current time and resolution of clocks like
e9ddea79
TW
22CLOCK_MONOTONIC, CLOCK_REALTIME and CLOCK_BOOTTIME.
23
24== OPTIONS
25
26*-J*, *--json*::
27Use JSON output format.
28
29*-n*, *--noheadings*::
30Don't print headings.
31
32*-o*, *--output* _list_::
33Specify which output columns to print. See the *OUTPUT COLUMNS*
34section for details of available columns.
35
9f59d21c
TW
36*--output-all*::
37Output all columns.
38
e9ddea79
TW
39*-r*, *--raw*::
40Use raw output format.
41
30720c90 42*-r*, *--time* _clock_::
8440f1e1 43Show current time of one specific clock.
e9ddea79 44
30720c90 45*--no-discover-dynamic*::
6fcb27e7
TW
46Do not try to discover dynamic clocks.
47
30720c90 48*-d*, *--dynamic-clock* _path_::
c4620c6a 49Also display specified dynamic clock.
a5cded29 50Can be specified multiple times.
dc3f05fc 51
30720c90 52*--no-discover-rtc*::
edba74df
TW
53Do not try to discover RTCs.
54
30720c90 55*-x*, *--rtc* _path_::
edba74df
TW
56Also display specified RTC.
57Can be specified multiple times.
58
30720c90 59*-c*, *--cpu-clock* _pid_::
dc3f05fc
TW
60Also display CPU clock of specified process.
61Can be specified multiple times.
c4620c6a 62
e9ddea79
TW
63include::man-common/help-version.adoc[]
64
65== OUTPUT COLUMNS
66
67Each column has a type. Types are surround by < and >.
68
ac9ee302
TW
69TYPE <``string``>::
70Clock type.
71
e9ddea79
TW
72ID <``number``>::
73Numeric clock ID.
74
75CLOCK <``string``>::
76Name in the form *CLOCK_*
77
78NAME <``string``>::
79Shorter, easier to read name.
80
81TIME <``number``>::
82Current clock timestamp as returned by *clock_gettime()*.
83
84ISO_TIME <``string``>::
85ISO8601 formatted version of *TIME*.
86
36ebc72a 87RESOL_RAW <``number``>::
8440f1e1 88Clock resolution as returned by *clock_getres*(2).
e9ddea79 89
f9c9bb15
TW
90RESOL <``number``>::
91Human readable version of *RESOL_RAW*.
92
0c7cba92
TW
93REL_TIME <``string``>::
94*TIME* time formatted as time range.
95
ed59648c
TW
96NS_OFFSET <``number``>::
97Offset of the current namespace to the parent namespace as read from */proc/self/timens_offsets*.
98
e9ddea79
TW
99
100== AUTHORS
101
102mailto:thomas@t-8ch.de[Thomas Weißschuh]
103
104== SEE ALSO
105
106*clock_getres*(2) *clock_gettime*(2)
107
108include::man-common/bugreports.adoc[]
109
110include::man-common/footer.adoc[]
111
112ifdef::translation[]
113include::man-common/translation.adoc[]
114endif::[]