mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-04 16:34:52 +03:00
fix(overview): report the CPU clock speed
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user