Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I see in:

ps aux 

that exists process like:

cp  file.txt /home/file.txt

This file is very big.

I try to kill like:

kill -9 12345

12345 is pid. But without success. What else I can do? What the reason?

P.S. 12345 0.0 0.0 7890 704 ? D 14:42 0:05 cp

share|improve this question

migrated from Nov 17 '11 at 12:46

This question came from our site for professional and enthusiast programmers.

Please give the full line of the process in ps aux. – Patrick B. Nov 17 '11 at 12:45
kill should work.. do you copy from/to a special drive which can block/jam like CD or some network drive? – Karoly Horvath Nov 17 '11 at 12:47
You can stop the process using CTRL+C. This will send a signal to cp stop. – Diogo Nov 17 '11 at 12:51

Just try CTRL+C in the terminal which cp works in. (I've assumed that you didn't send cp to background, which I don't do often.)

share|improve this answer

You can't kill process if it waits for some kernel syscall. For example if drive is busy or filesystem is otherwise locked up then you can't kill this process. How does your process look like if you do "ps -l". WCHAN and STAT are attributes you need to look at.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .