Skip to content

Instantly share code, notes, and snippets.

@jberkus
Created June 13, 2015 00:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jberkus/7ddda7d124e027788d05 to your computer and use it in GitHub Desktop.
Save jberkus/7ddda7d124e027788d05 to your computer and use it in GitHub Desktop.
benchcall = "{bdir}/{pgb} -T {ttime} -c {clients} -j {jobs} -s {scale} -r -n {scriptfiles} -p {port} -U {user} -h {host} {dbname} > {results}.results".format(bdir=abench,pgb=pgbench,ttime=numsec,clients=numclients,jobs=numthreads,scale=numrows,scriptfiles=filelist,dbname=db,results=abench,port=dbport,user=dbuser,host=dbhost)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment