July 13, 2008

wget debugging magic

(Explanation to come later. Wish that party next door would stop. It makes it hard to even want to sleep.)

Command: wget -S -p -Pwebtests/um.org/volunteer --output-file=volunteer.log http://www.urbanministry.org/volunteer

wget : gets web files, non-interactive

-S : get server headers

-Pdirectory : save to directory

-p : gets all necessary files

--output-file=file.log : file to save information in (is saved in your home directory)

http://www.example.com/page : page to get

Open the logfile that's created in your home directory and you have an instant log of how your site performs - a) total time, b) headers sent, and c) any 404 or 3xx errors.

Posted by donovan at 2:06 AM | Category: Technology | Work


Comments
Post a comment









Remember personal info?