diff --git a/pkg/primitives/statistics.go b/pkg/primitives/statistics.go index ed9a64255..e827b961b 100644 --- a/pkg/primitives/statistics.go +++ b/pkg/primitives/statistics.go @@ -336,7 +336,7 @@ func (s *statsStream) ListGPUs() ([]pkg.GPUInfo, error) { } func (s *statsStream) openConnectionsCount() (int, error) { - cmd := exec.Command("/bin/sh", "-c", "ss -ptn state established | wc -l") + cmd := exec.Command("/bin/sh", "-c", "ss -tnH state established | wc -l") out, err := cmd.Output() if err != nil { return 0, err