How to kill a bad write process in lubuntu

Jean jean_cartier at yahoo.com
Wed Jan 28 19:53:53 UTC 2015


Hi Linda,
First, you have to find your process. The "top" command can be used as well as the "ps -edf" or "ps -aux" commands..Then, inside top, you should press the "k" key ("k" stands for kill). You type the process pid (you can find it in the first column of your process id line), press return and choose the kill signal to send : 3 says to the process "Excuse me, I'm sorry to ask you that, but can you stop, when you have finish what you're doing, but it's up to you", and 9 says "I'm your boss, I extermine you like a ***** now... you're a dead process !!! NOW !"...you should use the 9th kill signal to kill your process.
May be it should work...
Jean


     Le Mercredi 28 janvier 2015 17h04, Linda <haniganwork at earthlink.net> a écrit :
   

 I had a usb drive that went bad so when I tried to do a cp 
command it just hung doing nothing.  I killed the command 
with ctrl -c but it was still listed when I did ps -aux. I 
tried to kill the process but it was stat D and I could not 
kill it. I tried doing a forced umount of the usb drive. The 
process was still there.  Did a shutdown but it would not 
finish shutting down and I had to turn off the power. Then 
this week I tried to copy a file that was too large for the 
usb drive this time using pcmanfm instead of the command 
line. Although it told you out of space and had a stop 
button it did not stop the process and again had to do a 
hard reboot to clean up the filesystem.
Is there a better way to clean up a write process that has 
gone bad
              Linda

-- 
Lubuntu-users mailing list
Lubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/lubuntu-users


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/lubuntu-users/attachments/20150128/d865161e/attachment-0001.html>


More information about the Lubuntu-users mailing list