cjbassi / gotop

A terminal based graphical activity monitor inspired by gtop and vtop
GNU Affero General Public License v3.0
7.39k stars 444 forks source link

Added sigterm options to "d" command. #168

Open jrswab opened 5 years ago

jrswab commented 5 years ago

This should satisfy issue #13 (at least in part). main.go now has cases for "dd", "d3", and "d9".

"d3" is "sigquit" and "d9" is "sigkill".

KillProc() now takes a string as an argument to perform desired kill action using --signal.

help.go also has been update to reflect the additions.