ajermakovics / jvm-mon

Console-based JVM monitoring tool
https://ajermakovics.github.io/jvm-mon/
Other
1.48k stars 117 forks source link

Would like to be able to kill java process #11

Closed ctwise closed 7 years ago

ctwise commented 7 years ago

I would like to be able to kill a java process from the monitor.

ajermakovics commented 7 years ago

Sounds like a nice feature. Not sure if we can kill a java process via an api but running a kill command should be possible. Probably just a matter of adding a key handler like this: https://github.com/ajermakovics/jvm-mon/blob/master/src/dist/jvm-mon.js#L92

ajermakovics commented 7 years ago

Added in v 0.2 - press Delete/Backspace to kill a selected JVM process. It will issue a SIGTERM