For best results, throw needs-restarting in a file called
zzz-needs-restarting in /etc/cron.daily/
This will make sure it runs last in the daily crons and you'll get an
email if there is any output.
On 20/02/2016 11:10 PM, Barbara Krasovec wrote:
> You can use:
> needs-restarting(
You can use:
needs-restarting(package yum-utils)
or
yum ps(package yum-plugin-ps)
Both will tell you, which services need to be restarted.
Cheers,
Barbara
On 20/02/16 12:46, Eero Volotinen wrote:
I think they both do about same things and almost in the same way. I
was not aware that needs
I think they both do about same things and almost in the same way. I was
not aware that needs-restarting utility is nowdays available anymore.
--
Eero
2016-02-20 10:41 GMT+02:00 Iosif Fettich :
> Hi Eero,
>
> I've noticed you're indication about how to determine which d
x27;lsof +c0 -d DEL | awk 'NR==1 || /libc-/ {print
$2,$1,$4,$NF}' | column -t' to check what daemons are still using old
version of library.
Out of curiosity: within the yum-utils package, there is a
needs-restarting utility that seems to be designed to do about the same
t