Index: killall/killall.1 =================================================================== --- killall/killall.1 +++ killall/killall.1 @@ -145,6 +145,45 @@ 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