You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gopsutil/process
Johan Walles 09fbecef59 Darwin: Remove questionable UIDs
process.Process.uids is an array of undocumented values.

That one of them is the user that the process is running as is obvious, but what
the other two are supposed to be is AFAICT undocumented.

On Darwin, the second and third UID (out of three) seem to always be 0.

This change removes the two always-zero UIDs from the process.Process struct on
Darwin, and leaves just the one that actually identifies the user the process
is running as.
9 years ago
..
expected/darwin proces[darwin]: change exec.Command to interface to enable mocking. 10 years ago
binary.go process: use syscall in common on darwin 10 years ago
process.go Make a public function for computing total CPU time 9 years ago
process_darwin.go Darwin: Remove questionable UIDs 9 years ago
process_darwin_amd64.go process: fix darwin kinfo_proc struct and introduce creation by godef. 10 years ago
process_freebsd.go net,process[linux]: add process.NetIOCounter and net.NetIOCounterByFile. 9 years ago
process_freebsd_386.go process[freebsd]: Cmdline, IOCounters, CPUTimes implemented 10 years ago
process_freebsd_amd64.go process[freebsd]: Cmdline, IOCounters, CPUTimes implemented 10 years ago
process_linux.go fix meminfo output on consecutive calls 9 years ago
process_linux_386.go + host and process for linux 386 10 years ago
process_linux_amd64.go change package name. 11 years ago
process_linux_arm.go change package name. 11 years ago
process_posix.go change package name. 11 years ago
process_posix_test.go change package name. 11 years ago
process_test.go process.Username(): Correct user names on Darwin 9 years ago
process_windows.go net,process[linux]: add process.NetIOCounter and net.NetIOCounterByFile. 9 years ago
types_darwin.go process: fix darwin kinfo_proc struct and introduce creation by godef. 10 years ago