ref: 2d9a6e8b2917e8c45772a6b237edd9e38e1aafff
parent: 6918d381f6f5a6e3e3deed21457c3ba3413641ee
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Thu Jul 5 11:08:37 EDT 2012
add dontkill to kill(1) manpage
--- a/sys/man/1/kill
+++ b/sys/man/1/kill
@@ -1,6 +1,6 @@
.TH KILL 1
.SH NAME
-kill, slay, broke \- print commands to kill processes
+kill, slay, broke, dontkill \- print commands to kill processes
.SH SYNOPSIS
.B kill
.I name ...
@@ -12,6 +12,9 @@
[
.I user
]
+.PP
+.B dontkill
+.I regexp
.SH DESCRIPTION
.I Kill
prints commands that will cause all processes called
@@ -59,10 +62,22 @@
.I broke
lets the system reclaim the resources used by
the broken processes.
+.PP
+.I Dontkill
+flags processes matching the program name
+.I regexp
+as not to be killed in the event of memory
+exhaustion. This is usualy run from termrc
+and cpurc (see
+.IR cpurc (8))
+to protect important system processes from
+getting killed.
.SH SOURCE
.B /rc/bin/kill
.br
.B /rc/bin/broke
+.br
+.B /rc/bin/dontkill
.SH "SEE ALSO"
.IR ps (1),
.IR stop (1),
--
⑨