Documentation ¶
Index ¶
Constants ¶
View Source
const VERSION = "v1.0"
Variables ¶
View Source
var GetProcessStatus = func(ctx context.Context) ([]*ProcessInfo, error) { procStats, err := process.ProcCustomPerfCollector.GetAllMetaData() if err != nil { return nil, err } return getProcessStatusFromStat(procStats), nil }
GetProcessStatus 获取进程信息
Functions ¶
Types ¶
type Event ¶
type Event struct {
// contains filtered or unexported fields
}
Event 上报事件
func (*Event) IgnoreCMDBLevel ¶
type ProcessInfo ¶
Click to show internal directories.
Click to hide internal directories.