kill one process

  There is an need of kill one port is already in use.

  The command is :

  lsof -i:8000

  There will be a list of:

  command pid user fd type device size/off node name

The command shows which program is now use the
port, the pid is process id, the user is username of the operator, the fd is
something I don‘t konw, the type is protecol of internet, the device is sth I
don‘t know, the name is the application‘s URL.

  So, what we need to do to kill the process uses port 8000 is to type the
command:

  kill pid(the process id showed by the command we type last)

kill one process,布布扣,bubuko.com

时间: 2024-12-17 06:19:35

kill one process的相关文章

Process Kill Technology && Process Protection Against In Linux

目录 0. 引言 1. Kill Process By Kill Command 2. Kill Process By Resource Limits 3. Kill Process By Code Injection Into Running Process Via GDB 4. Kill Process By Using Cross Process Virtual Memory Modify 5. Kill Process By Using ptrace To Inject .so 6. P

ORACLE快速彻底Kill掉的会话

在ORACLE数据库当中,有时候会使用ALTER SYSTEM KILL SESSION 'sid,serial#'杀掉一个会话进程,但是使用这个SQL语句杀掉会话后,数据库并不会立即释放掉相关的资源,有时候你会发现锁定的资源很长时间也不会释放,即使会话状态为"KILLED",依然会阻塞其它会话. 下面根据Eygel的"Oracle中Kill session的研究",构造一个案例看看kill session到底做了什么.如下所示 会话1: SQL> conn

Run python as a daemon process

I am using `&`: why isn't the process running in the background? No problem. We won't show you that ad again. Why didn't you like it? Uninteresting Misleading Offensive Repetitive Other Oops! I didn't mean to do this.          up vote9down votefavori

What is the difference between Kill and Kill -9 command in Unix?

w difference kill -9 pid and kill pid command - Ask Ubuntu  https://askubuntu.com/questions/791841/difference-kill-9-pid-and-kill-pid-command kill pid (which sends signal 15 (SIGTERM)) tells pid to terminate, but said program can execute some code fi

android 应用 kill ,restart ,重启,方法

1.  通过拿到当前的进程 id ,调用 shell 命令,杀死进程. int pid = android.os.Process.myPid(); String command = "kill -9 "+ Process.myPid(); try { Runtime.getRuntime().exec(command); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); }

ORACLE快速彻底Kill掉的会话(转载)

转载:http://www.cnblogs.com/kerrycode/p/4034231.html 在ORACLE数据库当中,有时候会使用ALTER SYSTEM KILL SESSION 'sid,serial#'杀掉一个会话进程,但是使用这个SQL语句杀掉会话后,数据库并不会立即释放掉相关的资源,有时候你会发现锁定的资源很长时间也不会释放,即使会话状态为“KILLED”,依然会阻塞其它会话. 下面根据Eygel的"Oracle中Kill session的研究",构造一个案例看看k

Oracle中Kill session的研究(转 出自eagle)

itpub link: http://www.itpub.net/235873.html 我们知道,在Oracle数据库中,可以通过kill session的方式来终止一个进程,其基本语法结构为: alter system kill session 'sid,serial#' ; 被kill掉的session,状态会被标记为killed,Oracle会在该用户下一次touch时清除该进程. 我们发现当一个session被kill掉以后,该session的paddr被修改,如果有多个session

泛函编程(37)-泛函Stream IO:通用的IO处理过程-Free Process

在上两篇讨论中我们介绍了IO Process:Process[I,O],它的工作原理.函数组合等.很容易想象,一个完整的IO程序是由 数据源+处理过程+数据终点: Source->Process->Sink所组成的.我们发现:Process[I,O]本身是无法兼顾Source和Sink的功能.而独立附加的Source和Sink又无法有效地与Process[I,O]进行函数组合(functional composition). 实际上Process[I,O]是一种固定单一输入类型(single

Oracle中Kill session

我们知道,在Oracle数据库中,可以通过kill session的方式来终止一个进程,其基本语法结构为: alter system kill session 'sid,serial#' ; 被kill掉的session,状态会被标记为killed,Oracle会在该用户下一次touch时清除该进程. 我们发现当一个session被kill掉以后,该session的paddr被修改,如果有多个session被kill,那么多个session的paddr都被更改为相同的进程地址: SQL> sel