- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for sysosinfo (0.13 sec)
-
src/internal/sysinfo/sysinfo.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package sysinfo implements high level hardware information gathering // that can be used for debugging or information purposes. package sysinfo import ( "internal/cpu" "sync" ) var CPUName = sync.OnceValue(func() string { if name := cpu.Name(); name != "" { return name }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:42:42 UTC 2024 - 518 bytes - Viewed (0) -
cmd/admin-handlers.go
anonymizeAddr(&n) healthInfo.Sys.NetInfo = append(healthInfo.Sys.NetInfo, n) } partialWrite(healthInfo) } } getAndWriteOSInfo := func() { if query.Get("sysosinfo") == "true" { localOSInfo := madmin.GetOSInfo(healthCtx, globalLocalNodeName) anonymizeAddr(&localOSInfo) healthInfo.Sys.OSInfo = append(healthInfo.Sys.OSInfo, localOSInfo)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 98K bytes - Viewed (0) -
src/cmd/dist/sys_windows.go
PROCESSOR_ARCHITECTURE_INTEL = 0 PROCESSOR_ARCHITECTURE_ARM = 5 PROCESSOR_ARCHITECTURE_ARM64 = 12 PROCESSOR_ARCHITECTURE_IA64 = 6 ) var sysinfo systeminfo func sysinit() { syscall.Syscall(procGetSystemInfo.Addr(), 1, uintptr(unsafe.Pointer(&sysinfo)), 0, 0) switch sysinfo.wProcessorArchitecture { case PROCESSOR_ARCHITECTURE_AMD64: gohostarch = "amd64" case PROCESSOR_ARCHITECTURE_INTEL: gohostarch = "386"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 16:42:41 UTC 2023 - 1.6K bytes - Viewed (0) -
src/internal/sysinfo/export_test.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package sysinfo
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:42:42 UTC 2024 - 212 bytes - Viewed (0) -
src/cmd/internal/metadata/main.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 17 21:40:36 UTC 2023 - 876 bytes - Viewed (0) -
src/internal/sysinfo/cpuinfo_stub.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build !(darwin || freebsd || linux || netbsd || openbsd) package sysinfo func osCPUInfoName() string { return ""
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:42:42 UTC 2024 - 283 bytes - Viewed (0) -
src/internal/sysinfo/cpuinfo_bsd.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build darwin || freebsd || netbsd || openbsd package sysinfo import "syscall" func osCPUInfoName() string { cpu, _ := syscall.Sysctl("machdep.cpu.brand_string") return cpu
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:42:42 UTC 2024 - 344 bytes - Viewed (0) -
pkg/kubelet/stats/pidlimit/pidlimit_linux.go
} // Prefer to read "/proc/loadavg" when possible because sysinfo(2) // returns truncated number when greater than 65538. See // https://github.com/kubernetes/kubernetes/issues/107107 if procs, err := runningTaskCount(); err == nil { rlimit.NumOfRunningProcesses = &procs } else { var info syscall.Sysinfo_t syscall.Sysinfo(&info) procs := int64(info.Procs) rlimit.NumOfRunningProcesses = &procs }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Sep 17 09:24:29 UTC 2023 - 2.4K bytes - Viewed (0) -
src/internal/cpu/cpu_no_name.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 10 20:05:43 UTC 2022 - 620 bytes - Viewed (0) -
src/internal/sysinfo/sysinfo_test.go
// Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package sysinfo_test import ( . "internal/sysinfo" "testing" ) func TestCPUName(t *testing.T) { t.Logf("CPUName: %s", CPUName()) t.Logf("osCPUInfoName: %s", XosCPUInfoName())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:42:42 UTC 2024 - 343 bytes - Viewed (0)