upstream/openstack/python-heat/python-heat/templates/hot/demo/make_load

5 lines
141 B
Bash

#!/bin/sh
# Generate maximum CPU load for a core
# Launch this X times for X cores to get 100% utilization
dd if=/dev/urandom of=/dev/null &