killall - Add all-but-self tty kill (-T)
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 24 Jul 2013 04:17:53 +0000 (21:17 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 24 Jul 2013 04:17:53 +0000 (21:17 -0700)
commitb031767fda31b5c605e26a506bb84382fb06374c
tree7dc8c9ac47369ef3677cff955da2b05993c150a2
parent205b63190ed97e83d183003e5fa7bdcb84bbe7d0
killall - Add all-but-self tty kill (-T)

* Add a new feature to killall, the -T option, which will kill all
  processes on the caller's tty except processes which parent the
  killall.

  This can be used to terminate processes on the current tty, for example
  from a ^C'd build that failed to kill all the sub processes, without
  also taking out the shell/xterm/whatever and causing the window to close.
usr.bin/killall/killall.1
usr.bin/killall/killall.c