package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Nov 7, 2016
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func GetLoadAverage() []byte
*
@return {"is_running":true,"memory_percent":2.2123966,"cpu_percent":0.999388968588172}
func GetReadToRunJobs(size int) []byte
get entries
*
return AddJob error: %s OR AddJob %s success
type ProcessState struct {
Pid int32 `json:"pid"`
IsRunning bool `json:"is_running"`
MemoryPercent float32 `json:"memory_percent"`
CpuPercent float64 `json:"cpu_percent"`
}
type RetRunJob struct {
Tid int `json:"tid"`
Status int `json:"status"`
Name string `json:"name"`
Pid int `json:"pid"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.