needs-restarting – report running processes that have been updated
needs-restarting is a program that reports a list of process ids that started running before they or some component that they use were updated.
它是在 yum-utils 裡面
yum install yum-utils
No core libraries or services have been updated. Reboot is probably not necessary.
Core libraries or services have been updated: dbus -> 1:1.10.24-14.el7_8 systemd -> 219-73.el7_8.9 Reboot is required to ensure that your system benefits from these updates.