aboutsummaryrefslogtreecommitdiff
path: root/bin/kill
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2002-06-13 08:40:01 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2002-06-13 08:40:01 +0000
commit16a6357c9b54b47d1919cb076096ce474d0528f1 (patch)
tree9d123697da398b248cc4737c463fd6701515a3a6 /bin/kill
parent6e542f8c06bd04c96a0cfd06b84f38628c6ffac0 (diff)
downloadsrc-16a6357c9b54b47d1919cb076096ce474d0528f1.tar.gz
src-16a6357c9b54b47d1919cb076096ce474d0528f1.zip
Add examples and diagnostics sections
Notes
Notes: svn path=/head/; revision=98160
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 b4c8e0edca60..98a2e4111d7e 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 ,