1

Time outputs of wget command

view story
linux-howto

http://www.unix.com – Hello friends, I've been working on a solaris server, I need to test responses of a web service using WGET command, if the response is successful, how quick it is etc. I have scirpt like this, I modified it, i try to redirect the output of time command to total.txt but i couldn't manage, i would appreciate any help to correct it. Code: #! /bin/sh NOW=`date +%c`; NOW="\n############## $NOW ##############\n" echo -e $NOW >> /tmp/total.xml; time /usr/sfw/bin/wget  --timeout=30 --post-file=/tmp/soaprequest.xml --header="Content-Type: text/xml" -- (HowTos)