[Bug] CPU temperature is showing 0
Closed this issue · 1 comments
tinkeshwar commented
Description of the bug
How to reproduce
No response
Relevant log output
const cpuInfo = {
manufacturer: 'AMD',
brand: 'Ryzen 5 7600 6-Core Processor Unknown',
vendor: 'AMD',
family: '25',
model: '97',
stepping: '2',
revision: '',
voltage: '',
speed: 3.8,
speedMin: 3,
speedMax: 5.17,
governor: 'schedutil',
cores: 12,
physicalCores: 6,
performanceCores: 6,
efficiencyCores: 0,
processors: 1,
socket: '',
flags: 'fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq rdpid overflow_recov succor smca fsrm flush_l1d',
virtualization: true,
cache: { l1d: 196608, l1i: 196608, l2: 6291456, l3: 33554432 }
}
const cpuLoad = {
avgLoad: 0.02,
currentLoad: 1.381261784581913,
currentLoadUser: 0.9918333281154333,
currentLoadSystem: 0.25274007618439437,
currentLoadNice: 0.13668838028208538,
currentLoadIdle: 98.61873821541809,
currentLoadIrq: 0,
currentLoadSteal: 0,
currentLoadGuest: 0,
rawCurrentLoad: 59680230,
rawCurrentLoadUser: 42854180,
rawCurrentLoadSystem: 10920150,
rawCurrentLoadNice: 5905900,
rawCurrentLoadIdle: 4261023540,
rawCurrentLoadIrq: 0,
rawCurrentLoadSteal: 0,
rawCurrentLoadGuest: 0,
cpus: [
{
load: 1.3057223839999414,
loadUser: 0.9675831009058894,
loadSystem: 0.2011762824626585,
loadNice: 0.13696300063139344,
loadIdle: 98.69427761600006,
loadIrq: 0,
loadSteal: 0,
loadGuest: 0,
rawLoad: 4741720,
rawLoadUser: 3513770,
rawLoadSystem: 730570,
rawLoadNice: 497380,
rawLoadIdle: 358407450,
rawLoadIrq: 0,
rawLoadSteal: 0,
rawLoadGuest: 0
},
{
load: 1.3150292440309592,
loadUser: 0.9647510268784144,
loadSystem: 0.21554567982871095,
loadNice: 0.13473253732383386,
loadIdle: 98.68497075596903,
loadIrq: 0,
loadSteal: 0,
loadGuest: 0,
rawLoad: 4785570,
rawLoadUser: 3510860,
rawLoadSystem: 784400,
rawLoadNice: 490310,
rawLoadIdle: 359128010,
rawLoadIrq: 0,
rawLoadSteal: 0,
rawLoadGuest: 0
},
{
load: 1.3555040240511564,
loadUser: 0.9880227984782497,
loadSystem: 0.22972458269753573,
loadNice: 0.13775664287537104,
loadIdle: 98.64449597594884,
loadIrq: 0,
loadSteal: 0,
loadGuest: 0,
rawLoad: 4928680,
rawLoadUser: 3592500,
rawLoadSystem: 835290,
rawLoadNice: 500890,
rawLoadIdle: 358676290,
rawLoadIrq: 0,
rawLoadSteal: 0,
rawLoadGuest: 0
},
{
load: 1.372686632089267,
loadUser: 0.9722811686380471,
loadSystem: 0.26246945780320785,
loadNice: 0.1379360056480121,
loadIdle: 98.62731336791073,
loadIrq: 0,
loadSteal: 0,
loadGuest: 0,
rawLoad: 4928440,
rawLoadUser: 3490840,
rawLoadSystem: 942360,
rawLoadNice: 495240,
rawLoadIdle: 354107620,
rawLoadIrq: 0,
rawLoadSteal: 0,
rawLoadGuest: 0
},
{
load: 1.5035698193950124,
loadUser: 0.9946921115762083,
loadSystem: 0.3668365448137892,
loadNice: 0.1420411630050151,
loadIdle: 98.49643018060499,
loadIrq: 0,
loadSteal: 0,
loadGuest: 0,
rawLoad: 5285210,
rawLoadUser: 3496450,
rawLoadSystem: 1289470,
rawLoadNice: 499290,
rawLoadIdle: 346225570,
rawLoadIrq: 0,
rawLoadSteal: 0,
rawLoadGuest: 0
},
{
load: 1.5250697246317413,
loadUser: 1.102604321176971,
loadSystem: 0.28263284403163974,
loadNice: 0.13983255942313058,
loadIdle: 98.47493027536825,
loadIrq: 0,
loadSteal: 0,
loadGuest: 0,
rawLoad: 5411210,
rawLoadUser: 3912230,
rawLoadSystem: 1002830,
rawLoadNice: 496150,
rawLoadIdle: 349406010,
rawLoadIrq: 0,
rawLoadSteal: 0,
rawLoadGuest: 0
},
{
load: 1.4530927159234097,
loadUser: 1.0496415495745723,
loadSystem: 0.2669492444041201,
loadNice: 0.13650192194471727,
loadIdle: 98.5469072840766,
loadIrq: 0,
loadSteal: 0,
loadGuest: 0,
rawLoad: 5207960,
rawLoadUser: 3761970,
rawLoadSystem: 956760,
rawLoadNice: 489230,
rawLoadIdle: 353197250,
rawLoadIrq: 0,
rawLoadSteal: 0,
rawLoadGuest: 0
},
{
load: 1.3488715644008953,
loadUser: 0.9665958501709473,
loadSystem: 0.24637361242061973,
loadNice: 0.13590210180932835,
loadIdle: 98.6511284355991,
loadIrq: 0,
loadSteal: 0,
loadGuest: 0,
rawLoad: 4854870,
rawLoadUser: 3478980,
rawLoadSystem: 886750,
rawLoadNice: 489140,
rawLoadIdle: 355065980,
rawLoadIrq: 0,
rawLoadSteal: 0,
rawLoadGuest: 0
},
{
load: 1.391465234617236,
loadUser: 0.9949737277771539,
loadSystem: 0.2600320891836739,
loadNice: 0.13645941765640857,
loadIdle: 98.60853476538276,
loadIrq: 0,
loadSteal: 0,
loadGuest: 0,
rawLoad: 5045740,
rawLoadUser: 3607980,
rawLoadSystem: 942930,
rawLoadNice: 494830,
rawLoadIdle: 357574890,
rawLoadIrq: 0,
rawLoadSteal: 0,
rawLoadGuest: 0
},
{
load: 1.4078297247809344,
loadUser: 1.0040734829014746,
loadSystem: 0.267745323610856,
loadNice: 0.1360109182686038,
loadIdle: 98.59217027521908,
loadIrq: 0,
loadSteal: 0,
loadGuest: 0,
rawLoad: 5059810,
rawLoadUser: 3608690,
rawLoadSystem: 962290,
rawLoadNice: 488830,
rawLoadIdle: 354345160,
rawLoadIrq: 0,
rawLoadSteal: 0,
rawLoadGuest: 0
},
{
load: 1.3282040040784304,
loadUser: 0.9567401463085587,
loadSystem: 0.23836678854204854,
loadNice: 0.13309706922782313,
loadIdle: 98.67179599592157,
loadIrq: 0,
loadSteal: 0,
loadGuest: 0,
rawLoad: 4800700,
rawLoadUser: 3458070,
rawLoadSystem: 861560,
rawLoadNice: 481070,
rawLoadIdle: 356642270,
rawLoadIrq: 0,
rawLoadSteal: 0,
rawLoadGuest: 0
},
{
load: 1.276001346570643,
loadUser: 0.9429742323963115,
loadSystem: 0.19977548337543022,
loadNice: 0.13325163079890132,
loadIdle: 98.72399865342936,
loadIrq: 0,
loadSteal: 0,
loadGuest: 0,
rawLoad: 4630320,
rawLoadUser: 3421840,
rawLoadSystem: 724940,
rawLoadNice: 483540,
rawLoadIdle: 358247040,
rawLoadIrq: 0,
rawLoadSteal: 0,
rawLoadGuest: 0
}
]
}
const cpuTemp = { main: null, cores: [], max: null, socket: [], chipset: null }
Info output of dashdot cli
INFO
=========
Yarn: 3.7.0
Node: v20.11.0
Dash: 5.8.3
Cwd: /app
Hash: f7ac2728b89a6c75502c9c736c46a94ff386889b
Platform: Linux 653abb52f68b 5.15.0-94-generic #104-Ubuntu SMP Tue Jan 9 15:25:40 UTC 2024 x86_64 Linux
Docker image: base
In Docker: true
In Docker (env): true
In Podman: false
What browsers are you seeing the problem on?
No response
Where is your instance running?
Ubuntu Server
Additional context
No response
MauriceNino commented
Hi! Seems like your CPU is not reporting any temperature information within the docker container. Maybe your host is missing some tools for it to work? Sorry, but I can't help with this, you will have to troubleshoot this on your own, or build the app from source.