Documentation ¶
Index ¶
- func GetCpuIdleTime() (float64, error)
- func GetCpuRequest() float64
- func GetDProcessNum() (int, error)
- func GetFileDescriptor() float64
- func GetFreeMemory() (float64, error)
- func GetLoad5() (float64, error)
- func GetMemRequest() float64
- func GetPodNum() float64
- func GetProcessNum() (int, error)
- func GetZProcessNum() (int, error)
- type BandWidth
- type DeviceInfo
- type DeviceInfoFloat
- type MountPointInodeUsagePercentage
- type MountPointUsagePercentage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCpuIdleTime ¶
func GetCpuRequest ¶
func GetCpuRequest() float64
func GetDProcessNum ¶
func GetFileDescriptor ¶
func GetFileDescriptor() float64
func GetFreeMemory ¶
func GetMemRequest ¶
func GetMemRequest() float64
func GetProcessNum ¶
func GetZProcessNum ¶
Types ¶
type BandWidth ¶
type BandWidth struct { IPAddress string NetworkInterface string NetworkReceiveRate float64 NetworkSendRate float64 }
func GetBandWidth ¶
func GetBandWidth() []BandWidth
type DeviceInfo ¶
type DeviceInfoFloat ¶
type DeviceInfoFloat struct { NameFloat string ReadRateFloat float64 WriteRateFloat float64 IopsFloat float64 }
func GetDeviceIo ¶
func GetDeviceIo() []DeviceInfoFloat
type MountPointInodeUsagePercentage ¶
type MountPointInodeUsagePercentage struct { MountPoint string InodeFree int64 InodeTotal int64 InodeFreePercentage float64 }
func GetMountpointInode ¶
func GetMountpointInode() []MountPointInodeUsagePercentage
type MountPointUsagePercentage ¶
func GetMountStorage ¶
func GetMountStorage() []MountPointUsagePercentage
Click to show internal directories.
Click to hide internal directories.