Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I accidentally closed the terminal while running a wget process to download a website. It has been 2 days since I started the wget process, so I don't know the process' status.

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

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

How do I resume the wget process to see the status?

share|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
add comment

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.

share|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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.