Files
2025-06-07 01:59:34 -04:00

18 lines
496 B
Perl

#!/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);