[wplug] Any software that ...

mdanish at andrew.cmu.edu mdanish at andrew.cmu.edu
Fri Feb 1 17:00:52 EST 2002


On Fri, Feb 01, 2002 at 04:53:28PM -0500, Chris wrote:
> Will send rapid requests to a webserver?  I am doing a project for a class
> where we are going to test how fast a webserver is.  Here is a better
> description.  I am going to have say 3 different webservers up.  From a
> desktop I want to hit the servers quickly and see how they handle it.  I am
> going to do this for each webserver.  I don't really need to load the page,
> just to receive the responce.  And if will give me the responce time, I
> would be very happy.
> 
> chris
> 

speed_test.sh:

#!/bin/sh
# I think I omitted any bashisms...

URL=$1
i=$2

while [ "$i" != "0" ]; do
        lynx -head -dump $URL 2>&1 > /dev/null
        i=$(($i-1))
done



$ time ./speed-test.sh http://url 10

-- 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Matthew Danish                         email: mdanish at andrew.cmu.edu ;;
;; OpenPGP public key available from:        'finger mrd at db.debian.org' ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;



More information about the wplug mailing list