first commit
This commit is contained in:
17
CS4210/cs4210/proj2/tester.pl
Normal file
17
CS4210/cs4210/proj2/tester.pl
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
# This file simply runs the client. Takes in one commandline argument,
|
||||
# which is the name of the urlfile we want to run. I can have it take
|
||||
# in a few more, but this ought to do it. If no file is specified, it
|
||||
# uses urls/legolas_big
|
||||
|
||||
$client = "bin/client";
|
||||
$job_count = 16000;
|
||||
$thread_count = 16;
|
||||
|
||||
$file = pop(@ARGV);
|
||||
$file = "urls/legolas_big" unless $file;
|
||||
|
||||
$command = "$client job-count=$job_count thread-count=$thread_count < $file";
|
||||
print "$command\n";
|
||||
system($command);
|
||||
Reference in New Issue
Block a user