User Tools

Site Tools


doc:appunti:linux:sa:systemd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:linux:sa:systemd [2024/11/15 13:06] – [Verifica dipendenze servizi] niccolodoc:appunti:linux:sa:systemd [2025/07/04 14:43] (current) – [Verifica dipendenze servizi] niccolo
Line 169: Line 169:
  
 ===== Verifica dipendenze servizi ===== ===== Verifica dipendenze servizi =====
 +
 +Generates textual **dependency graph** description in //dot// format:
  
 <code> <code>
 systemd-analyze dot systemd-analyze dot
 systemd-analyze dot 'dhcpcd.*' systemd-analyze dot 'dhcpcd.*'
 +systemd-analyze dot dhcpcd.service
 </code> </code>
 +
 +Prints an **SVG graphic** detailing **which system services have been started at what time**:
  
 <code> <code>
-systemd-analyze plot > something.svg+systemd-analyze plot > services-start-graph.svg
 </code> </code>
 +
 +Shows units **required** and **wanted** by the specified units:
  
 <code> <code>
 systemctl list-dependencies systemctl list-dependencies
 +systemctl list-dependencies dhcpcd.service
 +systemctl list-dependencies wpa_supplicant@..service
 </code> </code>
  
Line 186: Line 195:
   * **[[https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html|systemd.unit — Unit configuration]]**   * **[[https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html|systemd.unit — Unit configuration]]**
   * **[[https://www.freedesktop.org/software/systemd/man/latest/systemd.slice.html|systemd.slice — Slice unit configuration]]**   * **[[https://www.freedesktop.org/software/systemd/man/latest/systemd.slice.html|systemd.slice — Slice unit configuration]]**
 +
 +===== Verifica job non completati =====
 +
 +Mostra i processi in esecuzione. In condizioni normali, quando il bootstrap è terminato, la lista dovrebbe essere vuota:
 +
 +<code>
 +systemctl list-jobs
 +</code>
  
 ===== Alternativa allo script rc.local ===== ===== Alternativa allo script rc.local =====
doc/appunti/linux/sa/systemd.1731672387.txt.gz · Last modified: by niccolo