gtop icon indicating copy to clipboard operation
gtop copied to clipboard

Feature Request: Killing Processes

Open acidjazz opened this issue 7 years ago • 6 comments

maybe hitting dd while a process is highlighted does a kill -9 to it?

After slack/gitter/discord/whatever memory and cpu sucking electron "app" runs for 2-3 days w/out restart I need an easy way to kill all the renamed Google Chrome Helpers so I can have my 12gb of memory each one needs back. Because chat obviousely needs more ram than BF1

acidjazz avatar Aug 15 '17 07:08 acidjazz

A shortcut for this would be great, but an alternative suggestion for a shortcut: k prompts for a signal number (with SIGTERM as a default), and K simply does kill -9.

michaelmior avatar Aug 15 '17 14:08 michaelmior

sounds like a good idea. we can show a dialog to kill the highlighted process with the help of blessed.form after pressing k (similar to top)

aksakalli avatar Aug 15 '17 19:08 aksakalli

sounds good! as long as kk is still an instant kill :)

acidjazz avatar Aug 15 '17 22:08 acidjazz

This will be a very useful function!

glucee avatar Aug 30 '17 11:08 glucee

Would love to see this as well!

orcaman avatar Sep 29 '17 07:09 orcaman

@aksakalli how about d shows the dialog, but dd just kills? for people who don't want to be questioned.

acidjazz avatar Sep 29 '17 21:09 acidjazz