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 [2023/12/13 12:36] – [Sostituto di rc.local] niccolo | doc:appunti:linux:sa:systemd [2025/07/04 14:43] (current) – [Verifica dipendenze servizi] niccolo | ||
|---|---|---|---|
| Line 168: | Line 168: | ||
| </ | </ | ||
| - | ===== Alternatriva | + | ===== Verifica dipendenze servizi ===== |
| + | |||
| + | Generates textual **dependency graph** description in //dot// format: | ||
| + | |||
| + | < | ||
| + | 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 > services-start-graph.svg | ||
| + | </ | ||
| + | |||
| + | Shows units **required** and **wanted** by the specified units: | ||
| + | |||
| + | < | ||
| + | systemctl list-dependencies | ||
| + | systemctl list-dependencies dhcpcd.service | ||
| + | systemctl list-dependencies wpa_supplicant@..service | ||
| + | </ | ||
| + | |||
| + | * **[[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 | ||
| Come eseguire uno script all' | Come eseguire uno script all' | ||
doc/appunti/linux/sa/systemd.1702467401.txt.gz · Last modified: by niccolo
