Skip to content

Latest commit

 

History

History
69 lines (41 loc) · 1.74 KB

procs-need-restart.1.adoc

File metadata and controls

69 lines (41 loc) · 1.74 KB

procs-need-restart(1) Manual Page

NAME

procs-need-restart - find processes that need restarting after upgrade

SYNOPSIS

procs-need-restart [-f pattern] [-v] [-h] [-V] [--] [PID …​]

DESCRIPTION

procs-need-restart is a simple program designed to help to find processes that need restarting after upgrade. It reports processes that use (maps into memory) files that have been deleted or replaced on disk (and the new files are not identical to the mapped ones).

The command accepts one or more PID of processes to scan. If no positional argument is given, all processes running on the system (except kernel processes) are scanned. But if user’s effective UID is not 0 (i.e. not running as root), processes the user has no permissions to examine are ignored.

This program is part of apk-autoupdate package.

OPTIONS

-f pattern

Specify paths of mapped files to include/exclude from checking. Syntax is identical with fnmatch(3) with no flags, but with leading “!” for negative match (exclude). This option may be repeated multiple times.

Example: "!/dev/* !/home/* !/run/* !/tmp/* !/var/* *".

-v

Report all affected mapped files.

-h

Show this message and exit.

-V

Print program version and exit.

EXIT STATUS

  • 0 - clean exit, no error has encountered

  • 1 - some error has encountered

  • 100 - wrong usage (invalid option or argument given)

AUTHORS

Jakub Jirutka

REPORTING BUGS

Report bugs to the project’s issue tracker at https://github.com/jirutka/apk-autoupdate/issues.