Unable to kill process
Hi,
I am Moving my files to USB drive from Local Hard disk using MV command with cron job. After some time i was unable to browse my USB drive. Later i found there a many process of MV command. I tried to kill the process, but they are not getting ternimated. I found that 226 MV commands are running process. Command used to kill Kill -TERM 12345 Kill -HUP filename i tried with many options, but i could'nt kill the process please anybody could help me in ternimating these process. Thanking you, Sridhar. |
Did you try "killall mv".
|
Thanks for your reply
I tried with the command "Killall mv", But i could'nt terminate the processes |
Use the code to kill mv
Code:
while (/bin/true) do In other terminal, edit your crontab job, putting a comment in the begin of line or removing it at all. cheers, PS: The "grep -w mv" is a bit generic. May be you can add some more specific thing like "mv /whatever". |
Or maybe his processes are all hanging on some ininterruptable I/O system call?
@rvsridhar, can you please post the output of Code:
ps -efl | grep -i mv |
Good point timmeke. Sometimes a defective disk blocks a write operation.
|
All times are GMT -5. The time now is 04:24 AM. |