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 14:54] – [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>
Line 175: Line 177:
 systemd-analyze dot dhcpcd.service 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>
  
Line 191: 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.1731678858.txt.gz · Last modified: by niccolo