Documentation ¶
Index ¶
- func CheckFolderExistsAndReadable(path string) bool
- func GetGoPsutilCPU(interval time.Duration) ([]map[string]any, error)
- func GetGoPsutilDiskPG(DataDirs, TblspaceDirs []map[string]any) ([]map[string]any, error)
- func GetGoPsutilDiskTotals() ([]map[string]any, error)
- func GetGoPsutilMem() ([]map[string]any, error)
- func GetLoadAvgLocal() ([]map[string]any, error)
- func GetPathUnderlyingDeviceID(path string) (uint64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGoPsutilCPU ¶
Simulates "psutil" metric output. Assumes the result from last call as input, otherwise uses a 1s measurement
func GetGoPsutilDiskPG ¶
func GetGoPsutilDiskTotals ¶
func GetGoPsutilMem ¶
func GetLoadAvgLocal ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.