A volte, potresti chiederti se il sistema richiede un riavvio. Un modo semplice per trovarlo è usare un comando come needs-restarting
Questo comando fa parte di yum-utils
pacchetto.
è necessario riavviare è un programma che riporta un elenco di ID di processo avviati prima dell'aggiornamento di loro o di alcuni componenti che utilizzano.
ha bisogno di un uomo che riparte
Un esempio da un server web:
root@web [~]# needs-restarting -r
Core libraries or services have been updated:
systemd -> 219-73.el7_8.6
glibc -> 2.17-307.el7.1
Reboot is required to ensure that your system benefits from these updates.
More information:
https://access.redhat.com/solutions/27943
root@web [~]#
-r, --reboothint Only report whether a full reboot is required (exit code 1) or not (exit code 0).
Risorse:
ha bisogno di riavviare la pagina man
yum-utils/needs-restarting.py