Spaceheater

From Camp 2011 Public Wiki

Jump to: navigation, search
SpaceHeater
a small perl oneliner that burns cycles on your idle cpu to heat up your tent
Contact buZz, zmatt
People
Village Dyne


This is a small perl oneliner that burns cycles on your idle cpu to heat up your tent :)

nice -n 19 perl -e {redo} &

Run one thread per core in your system, and feel the temperature climb!

Update: Apparently giving the floating-point unit stuff to do helps more:

nice -n 19 perl -e '{$x=1/(1+$x);redo}' &
The Earth
Archived page - Impressum/Datenschutz