CPU / mem debgu print

This commit is contained in:
Frikky
2023-10-22 20:43:13 +02:00
parent eb31377564
commit d163d1fbf2
+1 -1
View File
@@ -1105,7 +1105,7 @@ func getOrborusStats() shuffle.OrborusStats {
newStats.CPUPercent = totalCPU
newStats.MemoryPercent = memUsage
//log.Printf("[DEBUG] CPU: %.2f, Memory: %.2f", newStats.CPUPercent, newStats.MemoryPercent)
log.Printf("[DEBUG] CPU: %.2f, Memory: %.2f", newStats.CPUPercent, newStats.MemoryPercent)
/*
cpuPercent, err := cpu.Percent(250*time.Millisecond, false)