Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SystemInfo ¶
type SystemInfo struct {
Memory *mem.VirtualMemoryStat
CPUInfo []cpu.InfoStat
CPUUsageRates []float64
DiskUasage *disk.UsageStat
}
func GetSystemUsage ¶
func GetSystemUsage() (*SystemInfo, error)
func (SystemInfo) Print ¶
func (s SystemInfo) Print()
Click to show internal directories.
Click to hide internal directories.