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 [2023/12/13 12:37] – [Alternatriva allo script rc.local] niccolodoc:appunti:linux:sa:systemd [2024/11/15 15:01] (current) – [Verifica dipendenze servizi] niccolo
Line 167: Line 167:
 systemctl --all list-dependencies ntp.service systemctl --all list-dependencies ntp.service
 </code> </code>
 +
 +===== Verifica dipendenze servizi =====
 +
 +Generates textual **dependency graph** description in //dot// format:
 +
 +<code>
 +systemd-analyze dot
 +systemd-analyze dot 'dhcpcd.*'
 +systemd-analyze dot dhcpcd.service
 +</code>
 +
 +Prints an **SVG graphic** detailing **which system services have been started at what time**:
 +
 +<code>
 +systemd-analyze plot > services-start-graph.svg
 +</code>
 +
 +Shows units **required** and **wanted** by the specified units:
 +
 +<code>
 +systemctl list-dependencies
 +systemctl list-dependencies dhcpcd.service
 +systemctl list-dependencies wpa_supplicant@..service
 +</code>
 +
 +  * **[[https://serverfault.com/questions/617398/is-there-a-way-to-see-the-execution-tree-of-systemd|Is there a way to see the execution tree of systemd?]]**
 +  * **[[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]]**
  
 ===== Alternativa allo script rc.local ===== ===== Alternativa allo script rc.local =====
doc/appunti/linux/sa/systemd.1702467421.txt.gz · Last modified: 2023/12/13 12:37 by niccolo