Lomanic
4f0e679e35
[process][darwin][openbsd][freebsd] Fix #795 don't truncate process names to 16 characters
2019-12-01 17:54:08 +01:00
Lomanic
fc7e5e7af6
Merge pull request #790 from Lomanic/issue773
...
[process] Fix #773 remove data race in NewProcess
v2.19.11
2019-11-27 19:28:36 +01:00
Lomanic
e34a731c69
[process] Fix #773 remove data race in NewProcess
...
Reproduction case https://github.com/shirou/gopsutil/issues/773#issuecomment-554723678
2019-11-17 20:17:23 +01:00
Lomanic
c9a2a69ca7
Merge pull request #789 from shirou/feature/add_length_check_to_cpuinfo
...
[cpu][linux]: add cpuinfo parse check.
2019-11-17 00:56:34 +01:00
shirou
b0025409e9
[cpu][linux]: add cpuinfo parse check.
2019-11-14 21:47:42 +09:00
Tobias Klauser
a61c905252
Use golang.org/x/windows functions instead of github.com/shirou/w32
...
All functions used from github.com/shirou/w32 are also available from
golang.org/x/sys/windows which is already used in other places. Convert
the remaining usages to use the functions from x/sys/windows.
2019-11-10 17:34:52 +01:00
shirou
7c51a74806
Merge pull request #783 from Brian-Williams/Without
...
Add WithoutUids funcs for Connections
2019-11-09 17:25:54 +09:00
shirou
44ad96e2ab
Merge pull request #786 from shirou/feature/change_circleci_1_11
...
change cirleci version to 1.11
2019-11-09 17:18:23 +09:00
shirou
dec0e04600
change cirleci version to 1.11
2019-11-09 17:16:28 +09:00
Brian C. Williams
f00df5cffe
Add WithoutUids funcs
2019-11-01 10:58:35 -04:00
shirou
0a33b6d8d2
Merge pull request #778 from alialaee/issue777
...
Fix #777 cpu.Total should not add Guest and GuestNice
v2.19.10
2019-10-19 15:01:14 +09:00
Lomanic
2d37960e4c
Merge pull request #776 from sajoupa/revert-f4e2355
...
Revert "[process] Fix #599 cap percent values returned by *Percent() …
2019-10-18 14:30:22 +02:00
alialaee
b8f51de8f6
Fix #777 cpu.Total should not add Guest and GuestNice
2019-10-15 19:19:12 +03:30
Laurent Sesques
b3cfb9abc3
Revert "[process] Fix #599 cap percent values returned by *Percent() between 0 and 100"
...
This reverts commit f4e23559a2bad85fca1eeea695331ce38ff3f494.
Fixes #755
2019-10-15 14:25:43 +02:00
shirou
1c09419d4b
Merge pull request #767 from shirou/feature/revert_pr_763
...
Revert "Merge pull request #763 from Iqoqo/add-android-support-for-host"
v2.19.9
2019-10-01 23:50:21 +09:00
shirou
5d6f343619
Merge pull request #772 from shirou/feature/remove_modules
...
remove go module settings
2019-09-29 07:42:43 +09:00
shirou
93f397e135
remove go module settings.
2019-09-28 20:56:42 +09:00
shirou
a21ed69d3a
Revert "Merge pull request #763 from Iqoqo/add-android-support-for-host"
...
This reverts commit f58b2e367743e24f7d4e5b69fa04cf738e15ce86, reversing
changes made to 84e6215770ea4a60ebed2284c4b5e57432891f22.
2019-09-15 09:49:07 +09:00
shirou
b5bcef9226
Merge pull request #762 from Lomanic/issue760
...
[process] Fix #760 implement IsRunning by checking process with same PID has same CreateTime as current process
2019-09-14 12:16:28 +09:00
shirou
f58b2e3677
Merge pull request #763 from Iqoqo/add-android-support-for-host
...
add android support for host
2019-09-14 12:14:11 +09:00
Ilya Guterman
11244886bb
add android support for host
2019-09-08 19:45:04 +03:00
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
shirou
84e6215770
Merge pull request #759 from Lomanic/windows-process-connections
...
[process][windows] Implement Connections() using net.ConnectionsPid()
2019-09-07 13:33:14 +09:00
shirou
56ed89e0cf
Merge pull request #758 from Lomanic/process-cleanup
...
[process] Propagate context internally on linux and improve tests
2019-09-07 13:32:35 +09:00
shirou
d3cd09021b
Merge pull request #757 from Lomanic/darwin-process-exe-cgo-implementation
...
[darwin][process] Add cgo implementation of Exe() from PR #243
2019-09-07 13:12:46 +09:00
Lomanic
f5131dc333
[process][windows] Implement Connections() using net.ConnectionsPid()
2019-09-05 23:18:29 +02:00
Lomanic
f09ba75b25
[process] Skip tests on non-implemented platforms #446 and fix Kill/Children tests on windows
2019-09-05 18:48:00 +02:00
Lomanic
6f5b1dbee7
[darwin][process] Add cgo implementation of Exe() from PR #243
...
Original from ppanyukov 4473014098
2019-09-05 18:36:32 +02:00
Lomanic
f49203762b
[process] Fix Connections() test with goroutines listening/connecting on TCP
2019-09-05 11:07:08 +02:00
Lomanic
36aa63bdd1
[process][linux] Propagate context internally
2019-09-04 19:47:23 +02:00
Lomanic
e4ec7b275a
[disk][linux] Fix #555 for kernels >=2.6.26
v2.19.8
2019-09-01 13:12:13 +02:00
shirou
2f74cb5178
Merge pull request #751 from asnowfox/master
...
Add interface ifIndex support
2019-08-25 00:01:20 +09:00
shirou
dad54b96cb
Merge pull request #754 from Lomanic/issue752
...
[process] Fix #752 sort PIDS returned by process.Pids()
2019-08-24 23:54:59 +09:00
Lomanic
3eefe64948
[process] Fix #752 sort PIDS returned by process.Pids()
2019-08-24 09:08:28 +02:00
Lomanic
58dc3b28aa
[process][windows] Amend last commit, don't wrap err in NumThreads()
2019-08-17 22:02:16 +02:00
Lomanic
9a445d5f6a
[process][windows] Use win32 API in process.NumThreads() instead of slow WMI call
2019-08-16 19:06:18 +02:00
shirou
e4d2c2f87a
Merge pull request #749 from Lomanic/issue628windows
...
[cpu][windows] Add support for logical arg in Counts #640 #628
2019-08-16 09:34:56 +09:00
shirou
fe02b2b4ba
Merge pull request #750 from Lomanic/issue560
...
[disk][darwin] Fix #560 using github.com/lufia/iostat cgo implementation
2019-08-16 07:55:31 +09:00
Lomanic
dc5a4756c9
[disk][darwin] Fix #560 using github.com/lufia/iostat cgo implementation
2019-08-15 19:38:03 +02:00
Lomanic
71adb75383
[cpu][windows] Add support for logical arg in Counts #640 #628
2019-08-14 23:52:41 +02:00
Lomanic
e6aa38bec2
[cpu][windows] WIP Add support for logical arg in Counts #640 #628
2019-08-14 23:35:31 +02:00
shirou
ffb381dc5d
Merge pull request #747 from tmm1/patch-3
...
Proper fix for unavailable /proc/filesystems
2019-08-13 21:14:26 +09:00
Aman Gupta
74d3cea10f
Proper fix for unavailable /proc/filesystems
2019-08-12 18:33:25 -07:00
Lomanic
903a879e03
Merge pull request #748 from tmm1/patch-4
...
[host] Trim null bytes from unix.Uname() results
2019-08-13 00:39:29 +02:00
Aman Gupta
25be4d08fe
Trim null bytes from kernel arch
2019-08-12 13:32:14 -07:00
Aman Gupta
62a406ec1b
Trim null bytes from kernel version
2019-08-12 13:30:54 -07:00
shirou
8a5bcfdb53
Merge pull request #739 from Lomanic/issue738
...
[host][linux] Fix #738 use uname syscall to get version in KernelVersion()
2019-08-11 21:57:14 +09:00
shirou
dd49c3f47f
Merge pull request #741 from floren/fix-mapper
...
Fixes a problem when using Docker on a host with an encrypted LLVM root.
2019-08-11 21:55:29 +09:00
shirou
af62c4eab6
Merge pull request #745 from Lomanic/issue737
...
[host] Fix #737 add KernelArch field in InfoStat struct returning 'uname -m' result
2019-08-11 21:48:02 +09:00
Lomanic
097237b157
Merge pull request #735 from Lomanic/issue729
...
[process] Fix #729 check process existence in NewProcess()
2019-08-10 20:16:17 +02:00