Skip to content

Instantly share code, notes, and snippets.

@SkamDart SkamDart/
Last active Apr 24, 2017

What would you like to do?
241 stress test script slightly modified
import subprocess
import sys
python localhost:4000 PUT test format.h
chmod u+x
./ localhost:4000 PUT test format.h
To copy locally, easily
wget -O
clients = []
serv_port = sys.argv[1]
command = sys.argv[2]
out = sys.argv[3]
in = sys.argv[4]
procs = int(sys.argv[5])
for i in range(procs):
proc = subprocess.Popen(["./client-reference", serv_port, command,
out + str(i) + ".txt", in],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.