Skip to content

Instantly share code, notes, and snippets.

@eturan
Created October 9, 2019 13:06
Show Gist options
  • Save eturan/25803cee1d25d39fd9612822bee037ce to your computer and use it in GitHub Desktop.
Save eturan/25803cee1d25d39fd9612822bee037ce to your computer and use it in GitHub Desktop.
while [ 1=1 ]
do
echo $(sysbench --test=cpu --max-time=2 run | egrep "total number of events") -- $(date +%H:%M:%S)
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment