kill [-g] pid kill [-g] module
| -g | This option specifies that the message be killgrp, requesting that all processes in the process group (see pctl - process control in Chapter 8) be terminated. |
When processes are terminated by module name, the ID numbers of the terminated processes are printed to standard output.
$ bind `#p' /prog
$ ps
1 1 evb release 1K Sh[$Sys]
5 1 evb alt 7K Cs
6 1 evb ready 1K Ps[$Sys]
$ kill Cs
5
$