Commit Graph

1763 Commits

Author SHA1 Message Date
Lomanic 87d6e832ff
Merge pull request #808 from MashaSamoylova/master
[process][windows] Change access right for GetProcessTimes call
2019-12-25 17:22:14 +01:00
MashaSamoylova 88d9e38aca Change access right in GetProcessTimes call 2019-12-25 18:34:54 +07:00
Tobias Klauser 4d6c82fb03 Add missing OpenBSD mount option strings
Add missing mount option string decoding according to the OpenBSD
mount(8) manpage: https://man.openbsd.org/mount
2019-12-23 13:44:02 +01:00
Tobias Klauser 10cdcee035 Fix typos in FreeBSD mount option strings
Fix typos in FreeBSD mount option strings so they match the values given
in the mount(8) manpage: https://www.freebsd.org/cgi/man.cgi?mount(8)
2019-12-23 13:43:44 +01:00
Tobias Klauser 214c5bdb50 Use MNT_* consts from golang.org/x/sys/unix on freebsd and openbsd
Update vendored version of golang.org/x/sys/unix and use the MNT_*
constants there to replace the locally generated ones.
2019-12-23 13:31:05 +01:00
shirou c141152a7b
Merge pull request #803 from lanixzcj/master
rename InActive(file) to Inactive(file) in mem_linux.go
2019-12-21 15:34:35 +09:00
shirou e85b1baf3a
Merge pull request #785 from tklauser/use-x-sys-windows
Use golang.org/x/windows functions instead of github.com/shirou/w32
2019-12-21 10:26:48 +09:00
shirou 61b5bf8cef
Merge branch 'master' into use-x-sys-windows 2019-12-21 10:20:23 +09:00
shirou f4fc0580b8
Merge pull request #802 from dmgk/master
Add support for freebsd/arm64
2019-12-21 10:01:17 +09:00
lanixzcj 38b78c3eac rename InActive(file) to Inactive(file) in mem_linux.go 2019-12-20 08:39:36 +08:00
Lomanic 71ddd2ac23
Merge pull request #800 from Girbons/feature/restore-temperature-info-macos
Fix #797 restore temperature info for macOS
2019-12-18 00:20:28 +01:00
Dmitri Goutnik 270f6afc22
Add support for freebsd/arm64 2019-12-17 03:12:29 -05:00
Alessandro De Angelis b7ac341eac fix compilation warnings 2019-12-16 11:24:55 +01:00
Lomanic f586a57353
Merge pull request #796 from Lomanic/issue795
[process][darwin][openbsd][freebsd] Fix #795 don't truncate process names to 16 characters
2019-12-15 23:31:26 +01:00
Alessandro De Angelis 65a2e0e9bb Restored temperature info for macOS 2019-12-13 16:03:44 +01:00
Lomanic 8e4dde660a [process][darwin] Fix Test_Process_Status and Status returning more than status letter 2019-12-07 00:39:46 +01:00
TakayukiB Goto 7306b38ac6 [Process] Remove Groups() from process_openbsd 2019-12-06 11:10:18 +09:00
Lomanic a8fd6e1956
Merge pull request #798 from like-inspur/master
add HOST_RUN config description
2019-12-03 10:17:32 +01:00
likerj 2ae2e5bda0
add HOST_RUN config description
there are five system environment variable can be config in common/common.go
2019-12-03 14:18:06 +08:00
Lomanic e7090ba9fc [process] Fix Test_Children test regression because of some other running test 2019-12-01 20:24:34 +01:00
Lomanic 1fcea92f73 [process] Skip if not implemented Test_IsRunning (for openbsd) 2019-12-01 19:31:54 +01:00
Lomanic e4f087a4af [process] Test process.Name() with long names #795 2019-12-01 19:31:48 +01:00
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
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
TakayukiB Goto 9c6cedb822 [Process] Fix typo 2019-10-24 18:48:28 +09:00
TakayukiB Goto a93796494b [Process] Define the Groups() only once 2019-10-24 18:42:13 +09:00
shirou 0a33b6d8d2
Merge pull request #778 from alialaee/issue777
Fix #777 cpu.Total should not add Guest and GuestNice
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 f4e23559a2.
Fixes #755
2019-10-15 14:25:43 +02:00
TakayukiB Goto f55f202e81 [Process] Implement Groups() to get additional gids. 2019-10-07 12:59:36 +09: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"
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 f58b2e3677, reversing
changes made to 84e6215770.
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