luminus7
luminus7
same problem here Environment: 14.04 Ubuntu, 4.5.4 kernel cpu: i5-8500 with 6cores **IOError: [Errno 2] No such file or directory: '/sys/devices/system/cpu/cpu6/online'** occured in every last line of error attached file...
got 6 cores in my pc `~$ ls /sys/devices/system/cpu/` cpu0 cpu2 cpu4 cpufreq isolated microcode offline possible present cpu1 cpu3 cpu5 cpuidle kernel_max modalias online power uevent
sure! `~$ cat /sys/devices/system/cpu/online` 0-5
`~$ cat /sys/devices/system/cpu/possible` 0-7 in wiscsee/workrunner/cpuhandler.py ``` def get_possible_cpus(): f = open("/sys/devices/system/cpu/possible", 'r') line = f.readline() f.close() # assuming format of 0-2,4,6-63 items = line.split(',') cpus = [] for item...