Lomanic
547679f88e
[process] Fix #760 implement IsRunning by checking process with same PID has same CreateTime as current process
2019-09-07 18:54:49 +02:00
Lomanic
3eefe64948
[process] Fix #752 sort PIDS returned by process.Pids()
2019-08-24 09:08:28 +02:00
Lomanic
3465186bca
[process] Fix #729 check process existence in NewProcess()
2019-08-01 21:12:48 +02:00
Lomanic
5b15bc623c
[process][posix] Fix #607 check pid existence with a signal instead of listing every pids
...
Reference 0d6b91e916/lockfile_unix.go
2019-07-07 16:41:13 +02:00
Lomanic
41e774419f
Merge pull request #643 from wcc526/master
...
Update process_linux.go for Add process ConnectionsMax
2019-02-23 21:23:09 +01:00
wcc526
462e0f6c2f
Update process_linux.go for Add process ConnectionsMax
2019-02-23 18:55:31 +08:00
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