aboutsummaryrefslogtreecommitdiffstats
path: root/orphan-reaper.1
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-10-17 18:24:03 +0200
committerMattias Andrée <maandree@kth.se>2017-10-17 18:24:03 +0200
commit9eb16aa2cdcdf14642ef43e5498a8f626a72d99c (patch)
tree0fb5b58f2767674f3038f759d803822e0c780fe2 /orphan-reaper.1
parentupdate dist (diff)
downloadorphan-reaper-9eb16aa2cdcdf14642ef43e5498a8f626a72d99c.tar.gz
orphan-reaper-9eb16aa2cdcdf14642ef43e5498a8f626a72d99c.tar.bz2
orphan-reaper-9eb16aa2cdcdf14642ef43e5498a8f626a72d99c.tar.xz
Rewrite and relicense2.3
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'orphan-reaper.1')
-rw-r--r--orphan-reaper.132
1 files changed, 32 insertions, 0 deletions
diff --git a/orphan-reaper.1 b/orphan-reaper.1
new file mode 100644
index 0000000..7a4bb34
--- /dev/null
+++ b/orphan-reaper.1
@@ -0,0 +1,32 @@
+.TH ORPHAN-REAPER 1 ORPHAN-REAPER
+.SH NAME
+orphan-reaper - Keep your process tree clean
+.SH SYNOPSIS
+.BR orphan-reaper
+[-f]
+.IR command ...
+.SH DESCRIPTION
+This user daemon spawns a process and reaps all orphaned
+grandchildren. This is useful if you want to keep your
+process tree clean. For instance if you want all programs
+started from inside the same display server instance to
+appear to be inside that display if you look inside the
+process tree, rather than all processes that loses their
+parent being reparented to PID 1 and make a mess on your
+process tree.
+.SH OPTIONS
+.TP
+.BR \-f
+Fail if the process cannot become a subreaper.
+.SH RATIONALE
+It is really nice to have a processes that are running
+inside a display server to be a grandchild of the
+display server, rather than being reparanted to PID 1.
+Especially when multiple display servers are running.
+.SH "SEE ALSO"
+.BR prctl (2),
+.BR pstree (1),
+.BR htop (1)
+.SH AUTHORS
+Mattias Andrée
+.RI < maandree@kth.se >