]> git.ipfire.org Git - thirdparty/util-linux.git/blob - misc-utils/lsclocks.1.adoc
lsclocks: add COL_TYPE
[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 include::man-common/help-version.adoc[]
46
47 == OUTPUT COLUMNS
48
49 Each column has a type. Types are surround by < and >.
50
51 TYPE <``string``>::
52 Clock type.
53
54 ID <``number``>::
55 Numeric clock ID.
56
57 CLOCK <``string``>::
58 Name in the form *CLOCK_*
59
60 NAME <``string``>::
61 Shorter, easier to read name.
62
63 TIME <``number``>::
64 Current clock timestamp as returned by *clock_gettime()*.
65
66 ISO_TIME <``string``>::
67 ISO8601 formatted version of *TIME*.
68
69 RESOL_RAW <``number``>::
70 Clock resolution as returned by *clock_getres()*.
71
72 RESOL <``number``>::
73 Human readable version of *RESOL_RAW*.
74
75 REL_TIME <``string``>::
76 *TIME* time formatted as time range.
77
78 NS_OFFSET <``number``>::
79 Offset of the current namespace to the parent namespace as read from */proc/self/timens_offsets*.
80
81
82 == AUTHORS
83
84 mailto:thomas@t-8ch.de[Thomas Weißschuh]
85
86 == SEE ALSO
87
88 *clock_getres*(2) *clock_gettime*(2)
89
90 include::man-common/bugreports.adoc[]
91
92 include::man-common/footer.adoc[]
93
94 ifdef::translation[]
95 include::man-common/translation.adoc[]
96 endif::[]