Documentation ¶
Index ¶
- func GetBootTime() uint64
- func GetCPUName() string
- func GetDNS() string
- func GetDirSize(path string, except string) uint64
- func GetGateway() string
- func GetHostInfo() (serial, id, model, vendor string)
- func GetMemTotal() (total uint64)
- func GetProcResouce(pid int) (cpu float64, rss uint64, readSpeed, writeSpeed float64, fds int32, ...)
- type IOState
- type ProcInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBootTime ¶
func GetBootTime() uint64
func GetCPUName ¶
func GetCPUName() string
func GetDirSize ¶
func GetGateway ¶
func GetGateway() string
func GetHostInfo ¶
func GetHostInfo() (serial, id, model, vendor string)
func GetMemTotal ¶
func GetMemTotal() (total uint64)
Types ¶
Click to show internal directories.
Click to hide internal directories.