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/load
Eric Anderson cded1805c1 Total Processes in `MiscStat` Corrected
The `ProcsTotal` in the `MiscStat` structure was very inaccurate. It was reading
a value which is the total number of kernel scheduling entities. This includes
both processes and threads significantly overcounting.

This instead uses an existing method already in common to count the number of
processes via the /proc filesystem where any directory is a number. This should
still be a single syscall to read that directory entry.

This fixes #1606.
12 months ago
..
load.go delete v2 directory, move v3 to top #1078 3 years ago
load_aix.go aix: split code, that uses perfstat, to _cgo and _nocgo files 3 years ago
load_aix_cgo.go aix: split code, that uses perfstat, to _cgo and _nocgo files 3 years ago
load_aix_nocgo.go fix lint 2 years ago
load_bsd.go refactor: remove unnecessary exec.LookPath calls 3 years ago
load_darwin.go refactor: remove unnecessary exec.LookPath calls 3 years ago
load_fallback.go gofumpt 3 years ago
load_freebsd.go gofumpt 3 years ago
load_linux.go Total Processes in `MiscStat` Corrected 12 months ago
load_openbsd.go gofumpt 3 years ago
load_solaris.go refactor: remove unnecessary exec.LookPath calls 3 years ago
load_test.go gofumpt 3 years ago
load_windows.go fix(windows): remove log statement 1 year ago