Skip to content

Instantly share code, notes, and snippets.

@alexhanh
Created October 5, 2011 07:39
Show Gist options
  • Select an option

  • Save alexhanh/1263871 to your computer and use it in GitHub Desktop.

Select an option

Save alexhanh/1263871 to your computer and use it in GitHub Desktop.
#!/bin/bash
while [ 1=1 ]
do
echo $(sysbench --test=cpu --max-time=2 run | egrep "events") -- $(date + %H:%M:%S)
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment