I want to disable 3 CPU cores and run my processor on a single core. I have used command:maxcpus=1. But after this I executed this command ls /sys/devices/system/cpu. It still shows cpu0,cpu1,cpu2,cpu3.
I also tried :echo 0 > /sys/devices/system/cpu3/online but I get the following error: no such file or directory.
maxcpus=1commmand? Did you put that string ingrub.cfgas a boot option? (Please update your question instead of answering in comments). – Anthon Jul 21 '14 at 7:24maxcpus=1) varies by distro. Also the/syspath you have is simply the wrong one, the correct path is/sys/devices/system/cpu/cpu3/online. – Patrick Jul 21 '14 at 13:00