fix(overview): report the CPU clock speed

This commit is contained in:
Sanaei
2026-12-03 19:22:47 +03:30
parent eae4ff8e8f
commit 952f293b4e
7 changed files with 97 additions and 10 deletions
+2
View File
@@ -16,6 +16,8 @@ import (
var SIGUSR1 = syscall.SIGUSR1
func platformCPUSpeedMHz() (float64, error) { return 0, nil }
// countConnections returns the number of entries in a /proc/net/{tcp,udp}[6]
// file. Returns 0 if the file is absent (e.g. /proc/net/tcp6 when IPv6 is
// disabled) and excludes the column header line.