Hi,

I would like to propose to import checkrestart, a tool I wrote for my
personal need in sysadmin, but which could make interest to others.

It is based on latest diff commited by guenther@ on libkvm which allows
to know from userland the number of symlink of a vnode in memory.

homepage: https://github.com/semarie/checkrestart/

from pkg/DESCR:

checkrestart is a program designed to help to find processes that need
restarting after upgrade.

checkrestart walks thought entire file table of the system, searching for
processes using node detached from filesystem.

The typical use case is:
 - starts a long lived program.
 - later, upgrades your packages via pkg_add -u.
 - if the program is updated on disk, the running program is still the
   previous one (without security fixes for example).
 - checkrestart will tell you which processes belong to this category.

Thanks.
-- 
Sebastien Marie

Attachment: checkrestart.tgz
Description: application/tar-gz

Reply via email to