3 ms·
Is there any solution for processes using obsolete libraries? It's a pain to figure out how to restart all of them without rebooting. lsof | grep lib | egrep '
by greglindahl 12y ago
Is there any solution for processes using obsolete libraries? It's a pain to figure out how to restart all of them without rebooting.
lsof | grep lib | egrep '(DEL|deleted\))'
- eudemo 12y agoIf you are on Debian, you could try checkrestart
- greglindahl 12y agoAh, I'm on CentOS (RHEL), which seems to lack an equivalent. EDIT: Note that the key feature is assistance in restarting! Which the debian gizmo does. Just detecting can be done by the lsof pipe I posted.
- benjarrell 12y agoRHEL 7 has 'needs-restarting' FWIW
- bradfordboyle 12y agoYou could check out `needrestart`---I've used this on Ubuntu and Debian, so I can't vouch for other distros. https://github.com/liske/needrestart https://github.com/liske/needrestart
- ciupicri 12y agoRun needs-restarting on Fedora. See also https://rwmj.wordpress.com/2014/07/10/which-services-need-restarting-after-an-upgrade/ https://rwmj.wordpress.com/2014/07/10/which-services-need-re...