Versions in this module Expand all Collapse all v1 v1.0.0 Mar 19, 2020 Changes in this version + type ByRSSDesc struct + func (s ByRSSDesc) Less(i, j int) bool + type ProcessInfo struct + Name string + PID int32 + PPID int32 + PctMem float64 + RSS uint64 + Username string + VMS uint64 + func GetProcesses() ([]*ProcessInfo, error) + type ProcessNameGroup struct + func NewProcessNameGroup() *ProcessNameGroup + func (pg *ProcessNameGroup) Name() string + func (pg *ProcessNameGroup) PctMem() float64 + func (pg *ProcessNameGroup) Pids() []int32 + func (pg *ProcessNameGroup) RSS() uint64 + func (pg *ProcessNameGroup) Usernames() []string + func (pg *ProcessNameGroup) VMS() uint64 + type ProcessNameGroups []*ProcessNameGroup + func GroupByName(processInfos []*ProcessInfo) ProcessNameGroups + func TopRSSProcessGroups(limit int) (ProcessNameGroups, error) + func (s ProcessNameGroups) Len() int + func (s ProcessNameGroups) Swap(i, j int)