Page MenuHomeFreeBSD

D25002.id72243.diff
No OneTemporary

D25002.id72243.diff

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

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)

Event Timeline