

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Usage: pj3 portnum [num_threads]
./pj3 1234 starts forking server on port 1234
./pj3 3333 100 starts pre-threaded server on port 3333 with 100 threads
100 bytes of fun
a a a a a a a a a a a a
> /usr/sbin/ab -n 100 -c 10 www.cse.sc.edu/~wyxu/foo.html This is ab implemented using the ApacheBench Perl API, version 0. Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-1999 The Apache Group, http://www.apache.org/ Copyright (c) 2000-2002 Ling Wu, Adi Fairbank, http://www.certsite.com/ Copyright (c) 2003-2004 Adi Fairbank, http://adiraj.org/
Server Software: Apache
Server Hostname: www.cse.sc.edu Server Port: 80
Document Path: /~wyxu/foo.html Document Length: 409 bytes
Concurrency Level: 10 Time taken for tests: 0.318 seconds Sent requests: 100 Completed requests: 100 Failed requests: 0 Total transferred: 66400 bytes HTML transferred: 40900 bytes Requests per second: 314. Transfer rate: 203.911163522013 kb/s received
Connnection Times (ms) min avg max Connect: 1 3.34 17 Response: 6 29.05 110
Warning messages from ab(): [Warn:] None.
HTTP request: GET /~wyxu/foo.html HTTP/1.
User-Agent: ApacheBench-Perl/0.
Host: www.cse.sc.edu
Accept: /
Response headers: HTTP/1.1 200 OK
Date: Wed, 07 Nov 2007 23:19:12 GMT
Server: Apache
Last-Modified: Wed, 07 Nov 2007 03:06:29 GMT