A veces, puede preguntarse si el sistema requiere un reinicio. Una forma sencilla de encontrar esto es usar un comando como needs-restarting
Este comando es parte de yum-utils
paquete.
necesita reiniciar es un programa que informa una lista de ID de procesos que comenzaron a ejecutarse antes de que ellos o algún componente que usan se actualizaran.
hombre que necesita reiniciar
Un ejemplo de un servidor 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).
Recursos:
necesita reiniciar la página del manual
yum-utils/necesidades-reinicio.py