Linuxのパッケージをアップデートしたあとrestartが必要なプロセスを見つける方法 #Ubuntu – Qiita
CentOS Red Hatで放置すると危険なglibcのセキュリティ対応 CVE-2015-7547 – レムシステム エンジニアブログ
dnf install yum-utils needs-restarting needs-restarting -s needs-restarting -r
dnf update実行後再起動前
#dnf install yum-utils Last metadata expiration check: 0:41:09 ago on Thu 10 Jul 2025 08:25:52 PM JST. Package yum-utils-4.3.0-20.el9.noarch is already installed. Dependencies resolved. Nothing to do. Complete! # needs-restarting 795 : php-fpm: master process (/etc/php-fpm.conf) 872 : php-fpm: pool www 873 : php-fpm: pool www 874 : php-fpm: pool www 875 : php-fpm: pool www 876 : php-fpm: pool www 2434 : php-fpm: pool www 2491 : php-fpm: pool www 2556 : php-fpm: pool www 3167 : php-fpm: pool www 14800 : php-fpm: pool www 24060 : php-fpm: pool www # needs-restarting -s php-fpm.service # needs-restarting -r Core libraries or services have been updated since boot-up: * kernel Reboot is required to fully utilize these updates. More information: https://access.redhat.com/solutions/27943
再起動後
# needs-restarting # needs-restarting -s # needs-restarting -r No core libraries or services have been updated since boot-up. Reboot should not be necessary.
