From OpenSCADAWiki
Jump to: navigation, search

|- | CPU (CPU)
"CPU[{N}]" || "General (gen)" or CPU number N. ||

  • "Load whole, system, user, idle\nIn %" (load[real], sys[real], user[real], idle[real])
  • "Frequency: driver" (frqDrv[string])
  • "Frequency: governor" (frqGov[string|wr])
  • "Frequency: current\nIn MHz" (frqCur[real|wr])
  • "Frequency: minimum, set\nIn MHz" (frqMin[real], frqMinCur[real|wr])
  • "Frequency: maximum, set\nIn MHz" (frqMax[real], frqMaxCur[real|wr])
  • "Model name" (model[string])
  • "MHz" (MHz[real])
  • "BogoMIPS" (BogoMIPS[real])
  • "MHz at rdtsc" (rdtsc[real])

| Updated in the generic cycles for all attribute values and prepares the most actual CPU generic-average frequency for the root page. All CPU specific frequency values are averaged for "General (gen)" and changes there are propagated to all cores. As the sources there used:

  • "/proc/stat" — for the CPU load;
  • "/sys/devices/system/cpu/cpu{N}/cpufreq/" — for CPUFreq;
  • "/proc/cpuinfo" — for generic CPU information.