doc:appunti:linux:sa:systemd
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:linux:sa:systemd [2024/11/15 13:04] – [Verifica Servizi] niccolo | doc: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: | ||
| < | < | ||
| systemd-analyze dot | systemd-analyze dot | ||
| + | systemd-analyze dot ' | ||
| + | systemd-analyze dot dhcpcd.service | ||
| </ | </ | ||
| + | |||
| + | Prints an **SVG graphic** detailing **which system services have been started at what time**: | ||
| < | < | ||
| - | systemd-analyze plot > something.svg | + | systemd-analyze plot > services-start-graph.svg |
| </ | </ | ||
| + | |||
| + | Shows units **required** and **wanted** by the specified units: | ||
| < | < | ||
| systemctl list-dependencies | systemctl list-dependencies | ||
| + | systemctl list-dependencies dhcpcd.service | ||
| + | systemctl list-dependencies wpa_supplicant@..service | ||
| </ | </ | ||
| Line 185: | Line 195: | ||
| * **[[https:// | * **[[https:// | ||
| * **[[https:// | * **[[https:// | ||
| + | |||
| + | ===== Verifica job non completati ===== | ||
| + | |||
| + | Mostra i processi in esecuzione. In condizioni normali, quando il bootstrap è terminato, la lista dovrebbe essere vuota: | ||
| + | |||
| + | < | ||
| + | systemctl list-jobs | ||
| + | </ | ||
| ===== Alternativa allo script rc.local ===== | ===== Alternativa allo script rc.local ===== | ||
doc/appunti/linux/sa/systemd.1731672282.txt.gz · Last modified: by niccolo
