shirou_gopsutil/process
Tobias Klauser 611c8b576e process, v3/process: use SC_CLK_TCK sysconf value instead of hard-coding clock ticks
The github.com/tklauser/go-sysconf package is already a dependency used
in the cpu and v3/cpu packages to determine clock ticks using
`sysconf.Sysconf(sysconf.SC_CLK_TCK)`, see #1036. Use the same in
packages process and v3/process as well instead of hard-coding clock
ticks to 100.
2021-06-02 14:11:11 +02:00
..
testdata [process][linux] fix 1056 test and copy to v2 2021-05-29 21:31:50 +09:00
process.go Clarify the godoc of the Children function. 2021-02-04 18:03:52 +01:00
process_bsd.go Refactor "process" package 2020-10-12 18:15:29 +03:00
process_darwin.go process, v3/process: use SC_CLK_TCK sysconf value instead of hard-coding clock ticks 2021-06-02 14:11:11 +02:00
process_darwin_386.go add platform compatibility 2017-01-27 20:35:58 -05:00
process_darwin_amd64.go [BREAKING CHANGE] rename functions to pass golint. ex) net.NetIOCounters -> net.IOCounters 2016-03-22 23:09:12 +09:00
process_darwin_arm64.go process: change all pointers to uint64 in ExternProc for darwin arm64 2021-05-24 11:04:41 +01:00
process_darwin_cgo.go [darwin][process] Add cgo implementation of Exe() from PR #243 2019-09-05 18:36:32 +02:00
process_darwin_nocgo.go [process][darwin][nocgo] Fix #867 iterate on every lines returned by lsof to handle potential warnings 2020-05-20 23:50:21 +02:00
process_fallback.go [process][solaris] process basics 2021-05-08 16:54:12 +03:00
process_freebsd.go Refactor "process" package 2020-10-12 18:15:29 +03:00
process_freebsd_386.go run go fmt ./... 2017-02-01 23:05:29 +00:00
process_freebsd_amd64.go run go fmt ./... 2017-02-01 23:05:29 +00:00
process_freebsd_arm.go Add native struct support for FreeBSD/arm. 2017-02-01 08:25:48 -08:00
process_freebsd_arm64.go Add support for freebsd/arm64 2019-12-17 03:12:29 -05:00
process_linux.go process, v3/process: use SC_CLK_TCK sysconf value instead of hard-coding clock ticks 2021-06-02 14:11:11 +02:00
process_linux_test.go [process][linux] fix 1056 test and copy to v2 2021-05-29 21:31:50 +09:00
process_openbsd.go process: unbreak build on OpenBSD 2020-10-24 15:35:19 +02:00
process_openbsd_386.go [host][mem][process][openbsd] Add 386 const and types definitions 2020-09-01 02:02:21 +02:00
process_openbsd_amd64.go run go fmt ./... 2017-02-01 23:05:29 +00:00
process_openbsd_arm64.go add support for OpenBSD arm64 2021-03-23 15:29:27 +01:00
process_posix.go [process][solaris] process basics 2021-05-08 16:54:12 +03:00
process_posix_test.go Move from the `syscall` package to the `golang.org/x/sys/{unix,windows}` 2017-06-02 13:51:00 -07:00
process_race_test.go fix ppid cache race condition #964 2020-10-23 11:38:02 +03:00
process_solaris.go [process][solaris] improve Exe portability 2021-05-19 22:29:21 +03:00
process_test.go Fix spaces on long process names for MacOS 2021-02-16 14:51:44 +09:00
process_windows.go [process][windows] Fix #714 call OpenProcess with PROCESS_QUERY_INFORMATION on WinXP 2021-03-06 22:53:54 +01:00
process_windows_386.go Added retrieval of OS platform to determine better a process platform. 2020-05-04 20:16:05 -03:00
process_windows_amd64.go Added retrieval of OS platform to determine better a process platform. 2020-05-04 20:16:05 -03:00
types_darwin.go Add support for Darwin/ARM64 2020-08-10 21:26:24 -07:00
types_freebsd.go [process]freebsd: process_freebsd_amd64.go is now generated by cgo godefs. 2016-03-31 17:19:49 +09:00
types_openbsd.go run go fmt ./... 2017-02-01 23:05:29 +00:00