Reputation: 1684
I am using Ubuntu 16.04 LTS. I run pycharm on remote desktop using ssh by:
cd /home/user/Documents/pycharm-community-2016.3/bin/ && ./pycharm.sh
I need to kill this process. For other process like firefox, I use the following:
pkill firefox
How do I kill the pycharm using pkill
?
Or is there any more elegant way to get this done ?
Upvotes: 0
Views: 503
Reputation: 1684
Following is the route that worked for me.
Step 1: remote login
Step 2:
use
top
to get process id (pid
) of process associated with pycharm.
The process is java.
Step 3: use kill pid
to kill the process.
Upvotes: 1