Fix load monitoring inconsistency bug

This commit is contained in:
Stockton Slack authored and Beat Küng committed 2024-07-22 10:33:39 +02:00
1 parent 9ff6c4bf28
commit 36d89df0a7
1 file changed
+1 -1
+1 -1
View File
@@ -202,7 +202,7 @@ void LoadMon::cpuload()
}
}
fseek(_proc_fd, 0, SEEK_END);
fseek(_proc_fd, 0, SEEK_SET);
if (parsedCount == 5) {
int32_t kb_main_cached = kb_page_cache + kb_slab_reclaimable;