first commit
This commit is contained in:
6
CS4210/Project 3/wget_tests/CVS/Entries
Normal file
6
CS4210/Project 3/wget_tests/CVS/Entries
Normal file
@@ -0,0 +1,6 @@
|
||||
/latency.sh/1.6/Tue Apr 25 01:13:01 2006//
|
||||
/latency_verb.sh/1.4/Tue Apr 25 00:49:46 2006//
|
||||
/stress.sh/1.2/Tue Apr 25 01:13:01 2006//
|
||||
/throughput.sh/1.3/Tue Apr 25 01:13:01 2006//
|
||||
/throughput_verb.sh/1.4/Tue Apr 25 01:13:01 2006//
|
||||
D
|
||||
5
CS4210/Project 3/wget_tests/CVS/Entries.Extra
Normal file
5
CS4210/Project 3/wget_tests/CVS/Entries.Extra
Normal file
@@ -0,0 +1,5 @@
|
||||
/latency.sh////*///
|
||||
/latency_verb.sh////*///
|
||||
/stress.sh////*///
|
||||
/throughput.sh////*///
|
||||
/throughput_verb.sh////*///
|
||||
0
CS4210/Project 3/wget_tests/CVS/Entries.Extra.Old
Normal file
0
CS4210/Project 3/wget_tests/CVS/Entries.Extra.Old
Normal file
0
CS4210/Project 3/wget_tests/CVS/Entries.Old
Normal file
0
CS4210/Project 3/wget_tests/CVS/Entries.Old
Normal file
1
CS4210/Project 3/wget_tests/CVS/Repository
Normal file
1
CS4210/Project 3/wget_tests/CVS/Repository
Normal file
@@ -0,0 +1 @@
|
||||
CS4210/Project 3/wget_tests
|
||||
1
CS4210/Project 3/wget_tests/CVS/Root
Normal file
1
CS4210/Project 3/wget_tests/CVS/Root
Normal file
@@ -0,0 +1 @@
|
||||
:ext:asskoala@192.168.0.3:/usr/_CVS
|
||||
25
CS4210/Project 3/wget_tests/latency.sh
Normal file
25
CS4210/Project 3/wget_tests/latency.sh
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
export http_proxy="http://127.0.0.1:1338"
|
||||
var0=0
|
||||
LIMIT=100
|
||||
echo "Starting latency test: 4 jpegs fetched $LIMIT times."
|
||||
date > start_date
|
||||
|
||||
while [ "$var0" -lt "$LIMIT" ]
|
||||
do
|
||||
var0=$(($var0 + 1))
|
||||
wget --quiet http://asskoala.servebeer.com/~nayupuyan/small_one.jpg
|
||||
wget --quiet http://asskoala.servebeer.com/~nayupuyan/small_two.jpg
|
||||
wget --quiet http://asskoala.servebeer.com/~nayupuyan/small_three.jpg
|
||||
wget --quiet http://asskoala.servebeer.com/~nayupuyan/small_four.jpg
|
||||
done
|
||||
|
||||
echo "Start time: "
|
||||
cat start_date
|
||||
echo "End time: "
|
||||
date
|
||||
#rm -f *.jpg* start_date
|
||||
echo "End of lateny test!"
|
||||
|
||||
exit 0
|
||||
|
||||
25
CS4210/Project 3/wget_tests/latency_verb.sh
Normal file
25
CS4210/Project 3/wget_tests/latency_verb.sh
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
export http_proxy="http://127.0.0.1:1338"
|
||||
var0=0
|
||||
LIMIT=100
|
||||
echo "Starting latency test: 4 jpegs fetched $LIMIT times."
|
||||
date > start_date
|
||||
|
||||
while [ "$var0" -lt "$LIMIT" ]
|
||||
do
|
||||
var0=$(($var0 + 1))
|
||||
time wget http://asskoala.servebeer.com/~nayupuyan/small_one.jpg
|
||||
time wget http://asskoala.servebeer.com/~nayupuyan/small_two.jpg
|
||||
time wget http://asskoala.servebeer.com/~nayupuyan/small_three.jpg
|
||||
time wget http://asskoala.servebeer.com/~nayupuyan/small_four.jpg
|
||||
done
|
||||
|
||||
echo "Start time: "
|
||||
cat start_date
|
||||
echo "End time: "
|
||||
date
|
||||
rm -f *.jpg* start_date
|
||||
echo "End of lateny test!"
|
||||
|
||||
exit 0
|
||||
|
||||
25
CS4210/Project 3/wget_tests/stress.sh
Normal file
25
CS4210/Project 3/wget_tests/stress.sh
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
export http_proxy="http://127.0.0.1:1338"
|
||||
var0=0
|
||||
LIMIT=100
|
||||
echo "Starting latency test: 4 jpegs fetched $LIMIT times."
|
||||
date > start_date
|
||||
|
||||
while [ "$var0" -lt "$LIMIT" ]
|
||||
do
|
||||
var0=$(($var0 + 1))
|
||||
wget --quiet http://asskoala.servebeer.com/~nayupuyan/small_one.jpg &
|
||||
wget --quiet http://asskoala.servebeer.com/~nayupuyan/small_two.jpg &
|
||||
wget --quiet http://asskoala.servebeer.com/~nayupuyan/small_three.jpg &
|
||||
wget --quiet http://asskoala.servebeer.com/~nayupuyan/small_four.jpg &
|
||||
done
|
||||
|
||||
echo "Start time: "
|
||||
cat start_date
|
||||
echo "End time: "
|
||||
date
|
||||
#rm -f *.jpg* start_date
|
||||
echo "End of lateny test!"
|
||||
|
||||
exit 0
|
||||
|
||||
25
CS4210/Project 3/wget_tests/throughput.sh
Normal file
25
CS4210/Project 3/wget_tests/throughput.sh
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
export http_proxy="http://127.0.0.1:1338"
|
||||
var0=0
|
||||
LIMIT=10
|
||||
echo "Starting throughput test: 4 jpegs fetched $LIMIT times."
|
||||
date > start_date
|
||||
|
||||
while [ "$var0" -lt "$LIMIT" ]
|
||||
do
|
||||
var0=$(($var0 + 1))
|
||||
wget --quiet http://asskoala.servebeer.com/~nayupuyan/large_one.jpg
|
||||
wget --quiet http://asskoala.servebeer.com/~nayupuyan/large_two.jpg
|
||||
wget --quiet http://asskoala.servebeer.com/~nayupuyan/large_three.jpg
|
||||
wget --quiet http://asskoala.servebeer.com/~nayupuyan/large_four.jpg
|
||||
done
|
||||
|
||||
echo "Start time: "
|
||||
cat start_date
|
||||
echo "End time: "
|
||||
date
|
||||
rm -f *.jpg* start_date
|
||||
echo "End of throughput test!"
|
||||
|
||||
exit 0
|
||||
|
||||
25
CS4210/Project 3/wget_tests/throughput_verb.sh
Normal file
25
CS4210/Project 3/wget_tests/throughput_verb.sh
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
export http_proxy="http://127.0.0.1:1338"
|
||||
var0=0
|
||||
LIMIT=10
|
||||
echo "Starting latency test: 4 jpegs fetched $LIMIT times."
|
||||
date > start_date
|
||||
|
||||
while [ "$var0" -lt "$LIMIT" ]
|
||||
do
|
||||
var0=$(($var0 + 1))
|
||||
time wget http://asskoala.servebeer.com/~nayupuyan/large_one.jpg
|
||||
time wget http://asskoala.servebeer.com/~nayupuyan/large_two.jpg
|
||||
time wget http://asskoala.servebeer.com/~nayupuyan/large_three.jpg
|
||||
time wget http://asskoala.servebeer.com/~nayupuyan/large_four.jpg
|
||||
done
|
||||
|
||||
echo "Start time: "
|
||||
cat start_date
|
||||
echo "End time: "
|
||||
date
|
||||
rm -f *.jpg* start_date
|
||||
echo "End of lateny test!"
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user