Posts Tagged ‘ sysfs

Who needs multiple cores anyway?

Do you remember the good old days when all you had was a single core? Time to re-live those glory days!

for I in /sys/devices/system/cpu/cpu[1-9]*
do
    echo 0 > ${I}/online
done

Unfortunately we can’t disable cpu0…