I accidentally close the terminal while wget process is still running to download a website. It was 2 days since I start the wget process. So, I dont know the wget process status.

Yesterday the traffic is high and today the traffic is low. It looks like the wget process is finished. But on top, it showing wget still running. This is confusing.

19133 root      15   0  751m 746m 1416 S  1.0 37.0  48:18.77 wget

I just dont know how to resume to the wget process to see the status.

link|improve this question
what command did you ran at the time along with wget ? – Prix Aug 8 '10 at 0:10
wget -k -m -r -q -t 1 http://www.web.com/ – keling menua Aug 8 '10 at 0:39
feedback

migrated from stackoverflow.com Aug 8 '10 at 1:09

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

1 Answer

If the web server you were downloading from supports resuming connections, then you can kill the wget process and restart it with the -c command (for continue). It won't continue if it finds it's already downloaded the entire file contents, otherwise it will resume from where it left off.

link|improve this answer
using pkill -9 wget ? – keling menua Aug 8 '10 at 1:00
1  
Right. Then the same wget command with options you typed earlier with a -c added. I've tried this with large downloads, stopped them and restarted. It should work with recursive downloads as well. – ars Aug 8 '10 at 1:04
feedback

Your Answer

 
or
required, but never shown