[systemd-devel] Testing if timesyncd is synced

Reindl Harald h.reindl at thelounge.net
Wed Feb 20 13:10:21 UTC 2019


Am 20.02.19 um 14:00 schrieb Aurelian Melinte:
> Some (old?) systems do not have adjtimex:
> 
> $ adjtimex
> 
> -bash: adjtimex: command not found

but which systems don't have a package manager to install whatever you want?

[harry at srv-rhsoft:~]$ adjtimex
bash: adjtimex: command not found

[harry at srv-rhsoft:~]$ dnf info adjtimex
Letzte Prüfung auf abgelaufene Metadaten: vor 0:01:15 am Wed Feb 20
14:08:51 2019.
Verfügbare Pakete
Name         : adjtimex
Version      : 1.29
Release      : 15.fc28
Arch         : x86_64
Größe        : 55 k
Quelle       : adjtimex-1.29-15.fc28.src.rpm
Paketquelle  : fedora
Zusammenfass : A utility for adjusting kernel time variables
Lizenz       : GPLv2+
Beschreibung : Adjtimex provides raw access to kernel time variables. On
standalone
             : or intermittently connected machines, root can use
adjtimex to correct
             : for systematic drift. If your machine is connected to the
Internet or
             : is equipped with a precision oscillator or radio clock,
you should
             : instead manage the system clock with the xntpd program.
Users can use
             : adjtimex to view kernel time variables.


More information about the systemd-devel mailing list