一旦进入无限循环,如何终止从Sublime Text 2终端运行的程序?

时间:2021-10-22 17:31:40

Even If I close sublime the process continues to go, seeing as my laptop revs until slowing down to a crawl a few minutes later. I'm on mint linux, and can't seem to kill the process from terminal either.

即使我关闭崇高,这个过程仍然继续,看到我的笔记本电脑转动,直到几分钟后减速到爬行。我是在薄荷linux上,似乎也无法从终端杀死进程。

5 个解决方案

#1


14  

Execute this command:

执行以下命令:

ps -A | grep sublime

result Example :

结果示例:

2547 ? 00:02:37 sublime_text

You will kill process with :

你会用以下方法杀死进程:

kill -9 2547

#2


6  

killall sublime_text

works for me Sublime Text 3 Ubuntu 16.04

适合我的Sublime Text 3 Ubuntu 16.04

#3


4  

$ ps aux | grep Sublime
bibhas   646   0.0  4.2  3489812 177340   ??  S    Fri08PM  29:17.03 /Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2 -psn_0_487543
$ sudo kill -9 646

#4


2  

One simple and brutal way is to just kill the process of what the program is running on. For example, if you are running a java program, then use $killall java.

一种简单而残酷的方法就是杀死程序运行的过程。例如,如果您正在运行java程序,则使用$ killall java。

#5


2  

on MAC:

在MAC上:

kill -9 $(pgrep Sublime)

kill -9 $(pgrep Sublime)

#1


14  

Execute this command:

执行以下命令:

ps -A | grep sublime

result Example :

结果示例:

2547 ? 00:02:37 sublime_text

You will kill process with :

你会用以下方法杀死进程:

kill -9 2547

#2


6  

killall sublime_text

works for me Sublime Text 3 Ubuntu 16.04

适合我的Sublime Text 3 Ubuntu 16.04

#3


4  

$ ps aux | grep Sublime
bibhas   646   0.0  4.2  3489812 177340   ??  S    Fri08PM  29:17.03 /Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2 -psn_0_487543
$ sudo kill -9 646

#4


2  

One simple and brutal way is to just kill the process of what the program is running on. For example, if you are running a java program, then use $killall java.

一种简单而残酷的方法就是杀死程序运行的过程。例如,如果您正在运行java程序,则使用$ killall java。

#5


2  

on MAC:

在MAC上:

kill -9 $(pgrep Sublime)

kill -9 $(pgrep Sublime)