U
U
Urukhayy2015-01-23 13:13:41
System administration
Urukhayy, 2015-01-23 13:13:41

Question minute. How to kill a process started with def. folders?

There is a VPS on Centos 6. 2 processes with the same name are running from different directories. One of them needs to be removed.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Petrikov, 2015-01-23
@Urukhayy

readlink /proc/PID/exe
Instead of PID, substitute the PID of the process, first one then the second, find the one that needs to be killed and terminate after
kill -9 PID

A
Armenian Radio, 2015-01-23
@gbg

  1. htop,
  2. F4.
  3. [first letters of the process name],
  4. find the right one
  5. F9
  6. select SIGTERM or SIGKILL,
  7. Enter.

P
protven, 2015-01-23
@protven

pwdx

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question