lpi1:uhrzeit
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
| lpi1:uhrzeit [2015/08/18 11:39] – [SuSE] ingo_wichmann | lpi1:uhrzeit [2023/05/04 16:28] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| + | ====== Hardware ====== | ||
| + | ===== x86 CPU ===== | ||
| + | Hat die CPU einen Constant Time Stamp Counter (TSC)? | ||
| + | grep -o constant_tsc / | ||
| + | |||
| + | Wird er benutzt? | ||
| + | journalctl -kg ' | ||
| + | |||
| + | ====== Kernel ====== | ||
| + | Welche Zeitquelle nutzt der Kernel? | ||
| + | cat / | ||
| + | |||
| + | Welche kann er nutzen? | ||
| + | cat / | ||
| + | -> mögliche Werte sind u.a.: kvm-clock tsc hpet acpi_pm | ||
| + | |||
| + | Kann mit dem Kernel-Parameter clocksource= verstellt werden. (( https:// | ||
| + | |||
| + | Der Linux Kernel stellt u.a. folgende Devices als Zeitquellen zur Verfügung: | ||
| + | |||
| + | Real Time Clock: | ||
| + | * ''/ | ||
| + | |||
| + | Precision Time Protocol (für Virtualisierungsgäste): | ||
| + | |||
| + | modprobe ptp_kvm | ||
| + | |||
| + | * ''/ | ||
| + | |||
| + | siehe auch [[chrony# | ||
| ====== Systemuhr stellen ====== | ====== Systemuhr stellen ====== | ||
| ===== date ===== | ===== date ===== | ||
| Zeile 14: | Zeile 44: | ||
| (( | (( | ||
| oder (ab systemd Version 213) | oder (ab systemd Version 213) | ||
| - | //Todo: stimmt das?// | ||
| - | |||
| ''/ | ''/ | ||
| < | < | ||
| Zeile 58: | Zeile 86: | ||
| timedatectl status | timedatectl status | ||
| - | === Doku === | + | ==== timedatectl ==== |
| - | man tzfile | + | CentOS (ab 7), Debian (ab 8), openSuSE (ab 13.1) |
| - | ==== Debian ==== | + | timedatectl set-timezone Europe/Berlin |
| - | Debian ab 3.1 | + | |
| - | tzconfig | + | |
| - | Debian ab 5.0 | + | |
| - | dpkg-reconfigure tzdata | + | |
| - | + | ||
| - | Mehr Informationen: | + | |
| - | http:// | + | |
| ==== SuSE (bis SLES 11) ==== | ==== SuSE (bis SLES 11) ==== | ||
| Zeile 85: | Zeile 106: | ||
| </ | </ | ||
| + | ==== Debian (bis 7) ==== | ||
| + | Debian ab 5.0 | ||
| + | dpkg-reconfigure tzdata | ||
| + | |||
| + | Mehr Informationen: | ||
| + | http:// | ||
| - | ==== Debian (?) ==== | ||
| ''/ | ''/ | ||
| < | < | ||
lpi1/uhrzeit.1439897995.txt.gz · Zuletzt geändert: 2015/08/18 11:39 von ingo_wichmann
