{"id":783,"date":"2023-09-03T17:21:06","date_gmt":"2023-09-03T15:21:06","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=783"},"modified":"2025-01-06T14:07:46","modified_gmt":"2025-01-06T13:07:46","slug":"systemd-die-steuerzentrale-von-linux","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/03\/systemd-die-steuerzentrale-von-linux\/","title":{"rendered":"Systemd &#8211; Die Steuerzentrale von Linux"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">In \u00e4lteren Zeiten wurde Linux vom sogenannten Init-System gestartet &#8211; dies hatte einen Nachteil: Jeder zu startende Dienst wurde der Reihe nach, einer nach dem anderen, gestartet. Dies kostete nat\u00fcrlich vor allem beim Start des Systems Zeit. Mit Systemd \u00e4nderte sich dies &#8211; dieses neue Init-System startet mehrere Dienste zur selben Zeit, und das System startet um vieles schneller.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">F\u00fcr manche ist Systemd jedoch auch ein Nachteil &#8211; so kontrolliert Systemd um einiges mehr als nur die Prozesse beim Start des Systems und beim Herunterfahren. Unter anderem werden auch die Logs von Systemd gesteuert. Manche meinen eben, es sollte nicht zu viel von einem einzigen Dienst gesteuert werden.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Es ist freie Software &#8211; es wird von den meisten Linux-Systemen genutzt, also nutzen wir es. Hier die wichtigsten Dinge, die Sie mit Systemd anstellen k\u00f6nnen.&nbsp;<strong>Wichtig<\/strong>&nbsp;&#8211; soweit nicht anders angegeben, werden alle Befehle mit administrativen Rechten ausgef\u00fchrt.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Alle Dienste anzeigen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Alle laufenden Dienste werden als Units bezeichnet, angezeigt werden diese mit dem Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl list-units<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd-1024x576.jpg\" alt=\"\" class=\"wp-image-784\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Die Ausgabe kann sehr lang sein, mit den Pfeiltasten scrollen Sie sich durch die Liste &#8211; mit der Taste&nbsp;<strong>q<\/strong>&nbsp;wird beendet. Die Tabelle zeigt folgende Informationen:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>UNIT<\/strong>&nbsp;&#8211; Der komplette Name<\/li>\n\n\n\n<li><strong>LOAD<\/strong>&nbsp;&#8211; Geladen oder nicht<\/li>\n\n\n\n<li><strong>ACTIVE<\/strong>&nbsp;&#8211; Aktuell aktiv oder nicht<\/li>\n\n\n\n<li><strong>SUB<\/strong>&nbsp;&#8211; Zeigt den untergeordneten Status an<\/li>\n\n\n\n<li><strong>DESCRIPTION<\/strong>&nbsp;&#8211; Eine kurze Beschreibung<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Nun gibt es folgende Arten von Units:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>service<\/strong>&nbsp;&#8211; Dienste<\/li>\n\n\n\n<li><strong>mount<\/strong>&nbsp;&#8211; H\u00e4ngt Partitionen ein und aus<\/li>\n\n\n\n<li><strong>device<\/strong>&nbsp;&#8211; Erstellt Ger\u00e4tedateien<\/li>\n\n\n\n<li><strong>path<\/strong>&nbsp;&#8211; \u00c4nderungen an Dateien<\/li>\n\n\n\n<li><strong>network<\/strong>&nbsp;&#8211; Netzwerk (erweiterte Einstellungen)<\/li>\n\n\n\n<li><strong>socket<\/strong>&nbsp;&#8211; Verbindungen zwischen Prozessen<\/li>\n\n\n\n<li><strong>target<\/strong>&nbsp;&#8211; Gruppen von Units<\/li>\n\n\n\n<li><strong>timer<\/strong>&nbsp;&#8211; \u00dcber Systemd gesteuerte Automatisierung<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Dienste anzeigen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Die wichtigsten Dinge, die uns interessieren werden, sind die laufenden oder auch nicht laufenden Dienste &#8211; also <strong>services<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl --type=service<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd1-1024x576.jpg\" alt=\"\" class=\"wp-image-785\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd1-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd1-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd1-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd1-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd1.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Hiermit werden uns alle laufenden und nicht laufenden Dienste angezeigt. Auch hier werden die Pfeiltasten zum Scrollen genutzt, zum Beenden der Ausgabe die Taste&nbsp;<strong><kbd>q<\/kbd><\/strong>. Die Tabelle zeigt dieselben Informationen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Eher unwichtig, aber manchmal auch doch interessant: Sie k\u00f6nnen sich nat\u00fcrlich auch die Abh\u00e4ngigkeiten von Diensten anzeigen lassen, etwa f\u00fcr den Dienst <strong>accounts-daemon.service<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl list-dependencies accounts-daemon.service<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd3-1024x576.jpg\" alt=\"\" class=\"wp-image-786\" style=\"width:700px;height:394px\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd3-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd3-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd3-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd3-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd3.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Dienste aktivieren und deaktivieren<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nicht ben\u00f6tigte Dienste m\u00fcssen nicht unbedingt beim Start des Systems automatisch starten &#8211; man kann sie auch manuell starten. Hat man beispielsweise den Apache-Webserver installiert und nutzt ihn nur hin und wieder zur Entwicklung von Webseiten, muss er nicht dauerhaft laufen, sondern nur dann, wenn man ihn auch braucht. Nehmen wir in diesem Fall den Service <strong>apache.service<\/strong> &#8211; um den automatischen Start zu deaktivieren:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl disable apache.service<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">M\u00f6chten Sie den automatischen Start wieder aktivieren:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl enable apache.service<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Den Status eines Dienstes genauer anzeigen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">N\u00e4here Informationen \u00fcber den Status eines Dienstes lassen Sie sich mit folgendem Befehl anzeigen &#8211; in diesem Fall mit dem Dienst <strong>accounts-daemon.service<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl status accounts-daemon.service<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd3-1-1024x576.jpg\" alt=\"\" class=\"wp-image-787\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd3-1-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd3-1-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd3-1-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd3-1-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd3-1.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Dienste manuell starten und stoppen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nicht automatisch gestartete Dienste lassen sich nat\u00fcrlich manuell starten und stoppen, in diesem Beispiel mit dem Dienst <strong>mariadb.service<\/strong>:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Starten:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl start mariadb.service<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Stoppen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl stop mariadb.service<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Neu starten:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart mariadb.service<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Das System steuern<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Mit folgenden Befehlen l\u00e4sst sich das System &#8230;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Herunterfahren:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl poweroff.target<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Neu starten:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl reboot.target<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In Bereitschaft versetzen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl suspend.target<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In den Ruhezustand versetzen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl hibernate.target<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In den Runlevel 3 versetzen (<em>keine grafische Oberfl\u00e4che<\/em>):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl multi-user.target<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In den Runlevel 5 versetzen (<em>Grafische Oberfl\u00e4che<\/em>):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl graphical.target<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In den Rettungsmodus versetzen &#8211; Runlevel 1 (<em>ohne grafische Oberfl\u00e4che<\/em>):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl rescue.target<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Log-Dateien anzeigen<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Auch um die Log-Dateien k\u00fcmmert sich Systemd &#8211; hierzu nutzen Sie den Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>journalctl<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Mit der Option <strong><code>-b<\/code><\/strong> lassen Sie sich die Log-Dateien seit dem letzten Start anzeigen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>journalctl -b<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd4-1024x576.jpg\" alt=\"\" class=\"wp-image-788\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd4-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd4-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd4-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd4-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd4.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Mit der Option <strong><code>-k<\/code><\/strong> lassen Sie sich nur die Meldungen des Kernels anzeigen &#8211; entspricht dem Befehl <strong>dmesg<\/strong>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>journalctl -k<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd5-1024x576.jpg\" alt=\"\" class=\"wp-image-789\" style=\"width:700px;height:394px\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd5-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd5-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd5-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd5-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd5.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Mit der Option <strong><code>-f<\/code><\/strong> lassen Sie sich die aktuellen Log-Meldungen anzeigen, mit&nbsp;<strong><kbd>Strg+c<\/kbd><\/strong>&nbsp;l\u00e4sst sich die Ausgabe beenden:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>journalctl -f<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd6-1024x576.jpg\" alt=\"\" class=\"wp-image-790\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd6-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd6-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd6-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd6-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd6.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Um sich \u00e4ltere Log-Dateien anzuzeigen, haben Sie mehrere M\u00f6glichkeiten, lassen Sie sich als Erstes alle Systemstarts anzeigen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>journalctl --list-boots<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd7-1024x576.jpg\" alt=\"\" class=\"wp-image-791\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd7-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd7-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd7-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd7-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd7.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In der Ausgabe finden Sie ganz hinten Datum und Uhrzeit des Starts, ganz vorne eine Ziffer &#8211; diese Ziffer nutzen Sie nun, um sich die Meldungen dieser Sitzung anzeigen zu lassen. Als Beispiel mit der &#8222;<strong>6<\/strong>&#8222;:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>journalctl -b 6<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Mit der Option <strong><code>--since=Datum<\/code><\/strong> lassen Sie sich die Meldungen ab diesem Datum anzeigen &#8211; etwa (<em>JJJJ-MM-TT HH:MM:SS<\/em>):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>journalctl --since=2021-08-03 12:00:00<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Start-Analyse mit Systemd<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Mittels Systemd l\u00e4sst sich nat\u00fcrlich auch herausfinden, warum das System l\u00e4nger beim Starten braucht. F\u00fcr diese Befehle brauchen Sie keine administrativen Rechte. Mit:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemd-analyze<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">erhalten Sie eine kurze Angabe \u00fcber die Startzeit des Systems:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd8-1024x576.jpg\" alt=\"\" class=\"wp-image-792\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd8-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd8-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd8-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd8-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd8.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>systemd-analyze blame<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Zeigt wiederum die Startzeit aller Units:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd9-1024x576.jpg\" alt=\"\" class=\"wp-image-793\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd9-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd9-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd9-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd9-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd9.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Zuletzt zeigt ein:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemd-analyze critical-chain<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">die Startzeit inklusive Abh\u00e4ngigkeiten:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd10-1024x576.jpg\" alt=\"\" class=\"wp-image-794\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd10-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd10-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd10-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd10-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd10.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Eine grafische erhalten Sie mit dem Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemd-analyze plot &gt; bootchart.svg<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Hiermit erhalten Sie eine SVG-Datei, die Sie im Webbrowser \u00f6ffnen k\u00f6nnen. Gespeichert wird diese im Verzeichnis, in dem Sie sich am Terminal gerade befinden:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd11-1024x576.jpg\" alt=\"\" class=\"wp-image-795\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd11-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd11-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd11-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd11-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/systemd11.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Noch mehr:<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/linux-bibel.at\/index.php\/2025\/01\/06\/noch-mehr-systemd-die-steuerzentrale-unter-linux\/\" data-type=\"post\" data-id=\"17723\">Nachtrag unter Systemd &#8211; noch mehr<\/a><\/p>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"783\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">7    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"783\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\">1<\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>In \u00e4lteren Zeiten wurde Linux vom sogenannten Init-System gestartet &#8211; dies hatte einen Nachteil: Jeder zu startende Dienst wurde der Reihe nach, einer nach dem anderen, gestartet. Dies kostete nat\u00fcrlich vor allem beim Start des Systems Zeit. Mit Systemd \u00e4nderte sich dies &#8211; dieses neue Init-System startet mehrere Dienste zur selben Zeit, und das System [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":795,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[15],"class_list":["post-783","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-system","tag-system"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=783"}],"version-history":[{"count":3,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/783\/revisions"}],"predecessor-version":[{"id":17741,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/783\/revisions\/17741"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/795"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}