table of contents
- testing 2.41.3-4
- unstable 2.41.3-4
- experimental 2.42~rc2-1
| LSCLOCKS(1) | User Commands | LSCLOCKS(1) |
NAME¶
lsclocks - display system clocks
SYNOPSIS¶
lsclocks [option]
DESCRIPTION¶
lsclocks is a simple command to display system clocks.
It allows to display information like current time and resolution of clocks. Different kinds of clocks are supported.
OPTIONS¶
-J, --json
-n, --noheadings
-o, --output list
--output-all
-r, --raw
-t, --time clock
--no-discover-dynamic
-d, --dynamic-clock path
--no-discover-rtc
-x, --rtc path
-c, --cpu-clock pid
-h, --help
-V, --version
ENVIRONMENT¶
LSCLOCKS_COLUMNS=
LIBSMARTCOLS_DEBUG=all
LIBSMARTCOLS_DEBUG_PADDING=on
LIBSMARTCOLS_JSON=compact|lines
OUTPUT COLUMNS¶
Each column has a type. Types are surround by < and >.
TYPE <string>
ID <number>
CLOCK <string>
NAME <string>
TIME <number>
ISO_TIME <string>
RESOL_RAW <number>
RESOL <number>
REL_TIME <string>
NS_OFFSET <number>
AUTHORS¶
Thomas Weißschuh <thomas@t-8ch.de>
SEE ALSO¶
clock_getres(2) clock_gettime(2)
REPORTING BUGS¶
For bug reports, use the issue tracker <https://github.com/util-linux/util-linux/issues>.
AVAILABILITY¶
The lsclocks command is part of the util-linux package which can be downloaded from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.
| 2026-03-19 | util-linux 2.42-rc2 |