Skip to content

Get all processes info build error #29

@tobor

Description

@tobor

func main() {
stat, err := linuxproc.ReadStat("/proc/stat")
Checkerr(err)
for _, s := range stat.Processes {
fmt.Println(s.Status.pid, s.Status.name, s.Cmdline)
}
}

cannot range over stat.Processes (type uint64)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions