perftest2.pl: use -k (keepalive) to show max performance
This commit is contained in:
parent
11be8d6e47
commit
0a06505efa
@ -13,6 +13,6 @@ my $hostname = PVE::INotify::read_file("hostname");
|
||||
# but we can simply create a ticket if we are root
|
||||
my $ticket = PVE::AccessControl::assemble_ticket('root@pam');
|
||||
|
||||
my $cmd = "ab -c 10 -n 1000 -C 'PVEAuthCookie=$ticket' https://$hostname:8006/api2/json";
|
||||
my $cmd = "ab -c 10 -n 1000 -k -C 'PVEAuthCookie=$ticket' https://$hostname:8006/api2/json";
|
||||
print "$cmd\n";
|
||||
system($cmd) == 0 || die "command failed - $!\n";
|
||||
|
Loading…
Reference in New Issue
Block a user