A pretty neat snippet to generate a small CPU load in a container

You can use the following to create a small CPU load in a container's bash:

 while :; do echo 'Hit CTRL+C'; sleep 1; done

Comments