Documentation ¶
Overview ¶
Package sys provides methods to read system information
- Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.
Package sys provides methods to read system information
- Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.
Package sys provides methods to read system information
- Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.
Package sys provides methods to read system information
- Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.
Package sys provides methods to read system information
- Copyright (c) 2018-2022, NVIDIA CORPORATION. All rights reserved.
Package sys provides methods to read system information
- Copyright (c) 2018-2023, NVIDIA CORPORATION. All rights reserved.
Package sys provides methods to read system information
- Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Containerized ¶
func Containerized() bool
func SetMaxProcs ¶
func SetMaxProcs()
SetMaxProcs sets GOMAXPROCS = NumCPU unless already overridden via Go environment
Types ¶
type LoadAvg ¶
type LoadAvg struct {
One, Five, Fifteen float64
}
func LoadAverage ¶
LoadAverage returns the system load average
type MemStat ¶
type ProcCPUStats ¶
type ProcMemStats ¶
Click to show internal directories.
Click to hide internal directories.