Skip to content

Instantly share code, notes, and snippets.

@yacuken
Created October 30, 2016 13:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yacuken/debbe2c8a1179c132ac90ef91638d281 to your computer and use it in GitHub Desktop.
Save yacuken/debbe2c8a1179c132ac90ef91638d281 to your computer and use it in GitHub Desktop.
hwclock tab2
[root@Sailfish nemo]# hwclock --test --debug
hwclock from util-linux 2.28.1
hwclock: cannot open /dev/rtc: Device or resource busy
No usable clock interface found.
hwclock: Cannot access the Hardware Clock via any known method.
[root@Sailfish nemo]# systemctl stop dsme
[root@Sailfish nemo]# hwclock --test --debug
hwclock from util-linux 2.28.1
Using the /dev interface to the clock.
Assuming hardware clock is kept in UTC time.
Waiting for clock tick...
...got clock tick
Time read from Hardware Clock: 2016/10/30 13:39:59
Hw clock time : 2016/10/30 13:39:59 = 1477834799 seconds since 1969
Time since last adjustment is 1477834799 seconds
Calculated Hardware Clock drift is 0.000000 seconds
2016-10-30 16:39:58.669037+3:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment