]> granicus.if.org Git - procps-ng/commit
pkill: enable displaying what is killed
authorSami Kerola <kerolasa@iki.fi>
Sat, 21 Jan 2012 12:24:02 +0000 (13:24 +0100)
committerSami Kerola <kerolasa@iki.fi>
Sat, 21 Jan 2012 12:44:00 +0000 (13:44 +0100)
commitbc974b3c335c354192e510b34928877dad206198
tree076f4176cee32b6d0b2af39ccac45a8e5cb38733
parent12dce9f83b2200a1aa6547fbb8f6a8069d77b27b
pkill: enable displaying what is killed

Add new command line options -e, --echo to display what is
killed. Cost of this change is greater run time memory footprint,
because an union had to be changed to struct to allow name and
pid printing which what I as an user would expect to see in
verbose kill output.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
pgrep.c