type ProcStatus … // NewStatus returns the current status information of the process. func (p Proc) NewStatus() (ProcStatus, error) { … } func (s *ProcStatus) fillStatus(k string, vString string, vUint uint64, vUintBytes uint64) error { … } // TotalCtxtSwitches returns the total context switch. func (s ProcStatus) TotalCtxtSwitches() uint64 { … } func calcCpusAllowedList(cpuString string) []uint64 { … } func calcNSPidsList(nspidsString string) []uint64 { … }