Skip to content

Instantly share code, notes, and snippets.

@kevinbin
Created March 31, 2013 03:29
Show Gist options
  • Save kevinbin/5279427 to your computer and use it in GitHub Desktop.
Save kevinbin/5279427 to your computer and use it in GitHub Desktop.
tpcc-mysql result format
awk 'BEGIN {printf "%s\t%s\n", "Connect","TpmC"}; {if ($0 ~ /connection/){printf "%s\t", $2} ;if ($0 ~/[0-9].*TpmC/) {print $1}}' tpcc_result_file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment