ps

package
v0.1.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOsInfo

func GetOsInfo() (*host.InfoStat, error)

GetOsInfo os info

func GetSelfCPU

func GetSelfCPU() (float64, error)

GetSelfCPU get self cpu info

func GetSelfMem

func GetSelfMem() (*process.MemoryInfoStat, error)

GetSelfMem self memory info

func GetSysCPU

func GetSysCPU(internal time.Duration, percpu bool) ([]float64, error)

GetSysCPU get system cpu info

func GetSysMem

func GetSysMem() (*mem.VirtualMemoryStat, error)

GetSysMem system memory info

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL