BSD Ports

sysutils/checkrestart 1.0p1 OpenBSD

help to find programs that need restarting after upgrade

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Sebastien Marie <[email protected]>
Categories
sysutils

Description

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.

In the other systems

SystemPortVersion
OpenBSDsysutils/checkrestart1.0p1
FreeBSDsysutils/checkrestart0.5.0_1
MidnightBSDsysutils/checkrestart0.5.0_1

Install

Binary package:

pkg_add checkrestart

From the ports tree:

cd /usr/ports/sysutils/checkrestart && make install

Dependencies

No port depends on this one.