links
System administrator command. Read or set the hardware clock.
This command maintains change information on /etc/adjtime, which can be used to ajust the clock based on how much
it drifts over time.
There is also a hardware clock (CMOS clock). You can look at the current hardware clock time with:
| # hwclock --show |
To set the hardware clock from the system clock, leaving the hardware clock in UTC, enter the following:
| # hwclock --systohc --utc # hwclock --show |