Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiskSpace ¶
func DiskSpace() (*disk.DiskUsageStat, error)
Types ¶
type ProcessData ¶
type ProcessData struct { Apikey string `json:"apikey"` Data []Process Serverip string `json:"serverip"` }
func ProcessList ¶
func ProcessList() (*ProcessData, error)
Lists Top 5 ProcessPids with Names running on the Host
type ServerData ¶
type ServerData struct { Apikey string `json:"apikey"` Data struct { Available int `json:"available"` Total int `json:"total"` Used int `json:"used"` } `json:"data"` Serverip string `json:"serverip"` }
func ServerMemory ¶
func ServerMemory() (*ServerData, error)
Click to show internal directories.
Click to hide internal directories.