YesMark™ only requires one thing, yes
. It works like this:
yes "DO 0;" | mysql >/dev/null &
You can achieve a faster spawning of YesMark™ test threads with a simple shell for loop:
for i in {1..16}; do yes "DO 0;" | mysql > /dev/null & done
- You know about
\s
right? - Use
mysqladmin -ri 1 extended-status | grep Questions
Yes.