yes > /dev/null
Then place my frozen lunch on the back of my macbook. Give it an hour or so and boom, defrosted.
yes > /dev/null
Then place my frozen lunch on the back of my macbook. Give it an hour or so and boom, defrosted.
Their ingenious solution was to always run the system towards the warmer end of its spec, and so it included a program that would monitor the temperature inside the case, and would spawn/kill a bunch of threads doing compute intensive math in order to keep the temperature constant when the users workload wasn't enough!
The laser cutter I operate simply has reverse cycle air conditioner mounted in one of the cabinet doors.
Similar looking model from same company: https://selinc.com/products/3355/
Then your hot lunch will buy you another hot lunch down the road!
So, you're basically thawing your lunch manually. Have you considered the "parallel" command?
parallel -- yes yes yes yes >/dev/null
If you've more processors than that, add on extra yesses. parallel -- `sed -ne 's:^processor.*:yes:p' < /proc/cpuinfo`
on openbsd: parallel -- `perl -e 'printf("yes "x\`sysctl -n hw.ncpu\`)'`
don't try the latter in a shell script without being prepared to
debug tho.edit : hnlmorg beat me to it :)
for p in `seq 1 $(sysctl -n hw.ncpu)`; do yes > /dev/null & done
Alternatively you could run Boinc with a cancer research project or something - defrost your food AND help the world become a better place.