Skip to content

Instantly share code, notes, and snippets.

@edonosotti
Created May 25, 2019 13:06
Show Gist options
  • Save edonosotti/1f6613e20114baf6d1036f3670f5b8d5 to your computer and use it in GitHub Desktop.
Save edonosotti/1f6613e20114baf6d1036f3670f5b8d5 to your computer and use it in GitHub Desktop.
Simulate CPU load on a linux box
#!/bin/bash
dd if=/dev/urandom | gzip -9 >> /dev/null &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment