Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148476999
D25002.id72243.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D25002.id72243.diff
View Options
Index: killall/killall.1
===================================================================
--- killall/killall.1
+++ killall/killall.1
@@ -145,6 +145,46 @@
signalled successfully.
Otherwise, a status of 1 will be
returned.
+.Sh EXAMPLES
+
+Send SIGTERM to all firefox processes
+.Bd -literal -offset indent
+killall firefox
+.Ed
+.Pp
+Send SIGTERM to firefox processes belonging to ${USER}
+.Ed
+.Pp
+.Bd -literal -offset indent
+killall -u ${USER} firefox
+.Ed
+.Pp
+Stop all firefox processes
+.Ed
+.Pp
+.Bd -literal -offset indent
+killall -SIGSTOP firefox
+.Ed
+.Pp
+Resume firefox processes
+.Bd -literal -offset indent
+killall -SIGCONT firefox
+.Ed
+.Pp
+Show what would be done to firefox processes, but do not actually signal them.
+.Bd -literal -offset indent
+killall -s firefox
+.Ed
+.Pp
+Send SIGKILL to csh process running inside jail ID 282
+.Bd -literal -offset indent
+killall -9 -j282 csh
+.Ed
+.Pp
+Send SIGTERM to all processes matching provided pattern (like vim and vimdiff)
+.Bd -literal -offset indent
+killall -m 'vim*'
+.Ed
.Sh DIAGNOSTICS
Diagnostic messages will only be printed if requested by
.Fl d
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 19, 3:51 AM (17 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29943717
Default Alt Text
D25002.id72243.diff (1 KB)
Attached To
Mode
D25002: killall(1): add EXAMPLES to manpage
Attached
Detach File
Event Timeline
Log In to Comment