summaryrefslogtreecommitdiffstats
path: root/bin/kill
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-06-13 08:40:01 +0000
committertjr <tjr@FreeBSD.org>2002-06-13 08:40:01 +0000
commit632d0deae40c4994b4117d8370b803b8d30c4aff (patch)
tree9d123697da398b248cc4737c463fd6701515a3a6 /bin/kill
parent9c5db0bcdac4871d212c9248ddbdacc0d5034884 (diff)
downloadFreeBSD-src-632d0deae40c4994b4117d8370b803b8d30c4aff.zip
FreeBSD-src-632d0deae40c4994b4117d8370b803b8d30c4aff.tar.gz
Add examples and diagnostics sections
Diffstat (limited to 'bin/kill')
-rw-r--r--bin/kill/kill.117
1 files changed, 17 insertions, 0 deletions
diff --git a/bin/kill/kill.1 b/bin/kill/kill.1
index b4c8e0e..98a2e41 100644
--- a/bin/kill/kill.1
+++ b/bin/kill/kill.1
@@ -116,6 +116,23 @@ command which is similar or identical to this utility.
Consult the
.Xr builtin 1
manual page.
+.Sh EXAMPLES
+Terminate
+the processes with pids 142 and 157:
+.Pp
+.Dl "kill 142 157"
+.Pp
+Send the hangup signal
+.Pq Dv SIGHUP
+to the process with pid 507:
+.Pp
+.Dl "kill -s HUP 507"
+.Pp
+Terminate the process group with pgid 117:
+.Pp
+.Dl "kill -- -117"
+.Sh DIAGNOSTICS
+.Ex -std
.Sh SEE ALSO
.Xr builtin 1 ,
.Xr csh 1 ,
OpenPOWER on IntegriCloud