summaryrefslogtreecommitdiff
path: root/sys/man/1/kill
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2012-07-05 15:08:37 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2012-07-05 15:08:37 +0200
commit000363db658e62039e609a1e8d237544a20bcd55 (patch)
treefcf7560ab1f1c5fddff6c5e1a2615cd5ec63d9ac /sys/man/1/kill
parentc0627feea307dc8105dfe341102ca57450239151 (diff)
add dontkill to kill(1) manpage
Diffstat (limited to 'sys/man/1/kill')
-rw-r--r--sys/man/1/kill17
1 files changed, 16 insertions, 1 deletions
diff --git a/sys/man/1/kill b/sys/man/1/kill
index a4abe8a2f..ed4e40c25 100644
--- 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 @@ kill, slay, broke \- print commands to kill processes
[
.I user
]
+.PP
+.B dontkill
+.I regexp
.SH DESCRIPTION
.I Kill
prints commands that will cause all processes called
@@ -59,10 +62,22 @@ Executing the commands printed by
.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),