diff --git a/linux/LinuxProcessList.c b/linux/LinuxProcessList.c index cd218ceb..90580b71 100644 --- a/linux/LinuxProcessList.c +++ b/linux/LinuxProcessList.c @@ -1961,6 +1961,9 @@ static int scanCPUFreqencyFromSysCPUFreq(LinuxProcessList* this) { } for (unsigned int i = 0; i < existingCPUs; ++i) { + if (!ProcessList_isCPUonline(&this->super, i)) + continue; + char pathBuffer[64]; xSnprintf(pathBuffer, sizeof(pathBuffer), "/sys/devices/system/cpu/cpu%u/cpufreq/scaling_cur_freq", i);