]> git.proxmox.com Git - pve-manager.git/commitdiff
perftest2.pl: use -k (keepalive) to show max performance
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 28 Dec 2016 11:06:27 +0000 (12:06 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 28 Dec 2016 11:06:27 +0000 (12:06 +0100)
bin/test/perftest2.pl

index 6208827617c05773955afbd5cc23028b28e6d192..ca178891f9d36420cf0a399f3a2697c3f35c1a48 100755 (executable)
@@ -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";