type NetlinkReader … func New() (*NetlinkReader, error) { … } func (r *NetlinkReader) Stop() { … } func (r *NetlinkReader) Start() error { … } // Returns instantaneous number of running tasks in a group. // Caller can use historical data to calculate cpu load. // path is an absolute filesystem path for a container under the CPU cgroup hierarchy. // NOTE: non-hierarchical load is returned. It does not include load for subcontainers. func (r *NetlinkReader) GetCpuLoad(name string, path string) (info.LoadStats, error) { … }