| hwclock.8 - ubase - suckless linux base utils | |
| git clone git://git.suckless.org/ubase | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| hwclock.8 (741B) | |
| --- | |
| 1 .Dd February 2, 2015 | |
| 2 .Dt HWCLOCK 8 | |
| 3 .Os ubase | |
| 4 .Sh NAME | |
| 5 .Nm hwclock | |
| 6 .Nd query or set the hardware clock | |
| 7 .Sh SYNOPSIS | |
| 8 .Nm | |
| 9 .Op Fl r | Fl s | Fl w | |
| 10 .Op Fl u | |
| 11 .Op Ar dev | |
| 12 .Sh DESCRIPTION | |
| 13 .Nm | |
| 14 is a tool for accessing the hardware clock. You can display the current … | |
| 15 set the hardware clock from the System Time, or set the System Time from… | |
| 16 hardware clock. It currently only works with UTC. You can use | |
| 17 .Ar dev | |
| 18 to specify the RTC device node absolute path. By default | |
| 19 it will use | |
| 20 .Pa /dev/rtc . | |
| 21 .Sh OPTIONS | |
| 22 .Bl -tag -width Ds | |
| 23 .It Fl r | |
| 24 Read the hardware clock and print the time on stdout. | |
| 25 .It Fl s | |
| 26 Set the system time from the hardware clock. | |
| 27 .It Fl u | |
| 28 Use UTC. This is the default option. | |
| 29 .It Fl w | |
| 30 Set the hardware clock to the system time. | |
| 31 .El |