David Naylor
414c76f159
[process][linux] Export process page fault info
...
Add a function for retrieving page fault counts from /proc/[pid]/stat on
Linux.
2018-12-13 16:19:40 -08:00
shirou
cce2d16538
[process]: add missing argment to process_fallback.
2018-12-10 20:20:53 +09:00
Lomanic
878e0a701b
Fix #596 Implement process.Background and process.Foreground functions
2018-11-08 20:52:01 +01:00
Sam Zaydel
391d5ecf7d
Fix undefined process.Processes when building telegraf on Solaris-based system
2018-07-26 15:10:44 -07:00
shirou
cd61c36c4f
Merge branch 'master' into feature/add_context_support
2018-01-09 11:18:25 +09:00
Nick Kirsch
482ca3af6d
Parses the tgid field, which is the thread group id (aka user-space process id) on Linux. Returns error on other platforms.
2018-01-04 11:30:39 -08:00
shirou
4c73494c78
Add WithContext functions.
2017-12-31 15:25:49 +09:00
Leonid Podolny
7ee4a4c6ff
Fix Threads() signature to better match python original
2017-10-04 15:38:01 -04:00
Leonid Podolny
7ad3836ad3
Implement Threads() for Linux
2017-10-04 15:38:01 -04:00
Patrick Hemmer
60c32eb847
add current values to rlimit retrieval
2017-06-01 16:38:44 -04:00
Marco Pfatschbacher
b4846b445b
Add support for OpenBSD/amd64
...
This code is based on the FreeBSD version
and implements roughly the same feature set.
2016-11-24 22:30:29 +01:00
Lukas Fittl
da9fa1162b
Add fallback code for all unsupported operating systems.
...
This enables using gopsutil in a codebase that gets built on other OSes
than the ones supported. Instead of a build failure as before, due to
the build tags, gopsutil will now throw an "not implemented" runtime
error.
Fixes #234 .
2016-08-22 15:31:26 -07:00