summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/man/1/tap22
1 files changed, 22 insertions, 0 deletions
diff --git a/sys/man/1/tap b/sys/man/1/tap
new file mode 100644
index 000000000..f5ffb46ac
--- /dev/null
+++ b/sys/man/1/tap
@@ -0,0 +1,22 @@
+.TH TAP 1
+.SH NAME
+tap \- follow the pipes of a process
+.SH SYNOPSIS
+.B tap
+[
+.I pid ...
+]
+.SH DESCRIPTION
+.I Tap
+walks the file descriptors of a process looking for pipes (see
+.IR pipe (3))
+and then finds the processes on the other end of these pipes
+repeating the process recursively. The result is a tree of
+alternating process and filedescriptor nodes that make up the
+process pipeline.
+.SH SOURCE
+.B /rc/bin/tap
+.SH SEE ALSO
+.IR ps (1),
+.IR pipe (3),
+.IR proc (3).