1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-05-10 19:29:14 +08:00

1888 Commits

Author SHA1 Message Date
shirou
7ae41c1f40 [v2][solaris][mem] fix invoke ctx. 2021-10-17 13:20:16 +00:00
shirou
4db4dc09a0 [v3] fix Signal import on dragonfly OS in fallback 2021-10-17 13:13:57 +00:00
shirou
ed7efd5d01 fix path on build_test 2021-10-17 12:56:00 +00:00
shirou
a4ec7a2e77 fix build_test workflow 2021-10-17 10:13:04 +00:00
shirou
3e7da36a46 [mem][solaris] fix wrong variable name. 2021-10-17 10:13:04 +00:00
shirou
63210193c2 add build_test to github action 2021-10-17 10:13:04 +00:00
shirou
9ba4650578
Merge pull request #1145 from shirou/feature/update_x_sys
[v3] update x/sys version and fix v2 process kill
2021-10-17 19:11:57 +09:00
shirou
703175c3fb [v2][process][windows] fix Kill causes DuplicateHandle error 2021-10-17 09:59:20 +00:00
shirou
b96339ab43 [v3] update x/sys version. 2021-10-17 09:56:58 +00:00
shirou
79c6edf913
Merge pull request #1148 from lufia/add-plan9-mem
[v3][mem] add plan9 support
2021-10-09 23:33:43 +09:00
shirou
54eae75ed3
Merge pull request #1150 from shirou/feature/fix_mem_bsd
[mem][bsd] fix missing arg
2021-10-09 22:54:00 +09:00
WAKAYAMA shirou
46d6fcc192 [mem][bsd] fix missing arg 2021-10-09 22:49:58 +09:00
shirou
285b4a4a01
Merge pull request #1142 from maier/master
fixes for mem_solaris.go
2021-10-09 22:48:31 +09:00
shirou
27a7c1c06b
Merge pull request #1147 from elmeyer/fix-windows-11
host, v3/host (Windows): Fix Windows 11 reporting
2021-10-09 22:45:58 +09:00
lufia
0eae055018 [v3][mem] add plan9 support 2021-10-09 07:44:59 +09:00
Lars Meyer
db020a3546 [host][windows][v3] Fix Windows 11 reporting
While ProductName remains "Windows 10", versions with Build no. >= 22000
are Windows 11.
2021-10-08 09:36:43 +02:00
Lars Meyer
a7d936d0a4 [host][windows] Fix Windows 11 reporting
While ProductName remains "Windows 10", versions with Build no. >= 22000
are Windows 11.
2021-10-08 09:36:28 +02:00
shirou
3a63fa472d
Merge pull request #1146 from shirou/feature/add_missing_commits
[v3][mem] add missing files.
2021-10-07 22:01:54 +09:00
maier
4dcbf38c38 remove go1.17 build constraint 2021-10-07 08:57:42 -04:00
shirou
3ff6b5dd8b [v3][mem] add missing files. 2021-10-07 12:57:31 +00:00
shirou
fd4fbd9c79
Merge pull request #1121 from scop/lint
Lint fixes
2021-10-07 20:28:38 +09:00
shirou
5bdd02c944
Merge pull request #1140 from punya/proc-created-v3
Copy load.MiscStat ProcsCreated field from v2 to v3 (supersedes #1123)
2021-10-07 20:19:23 +09:00
Punya Biswal
1a0c514676 Poke CI 2021-10-06 15:55:38 -04:00
Punya Biswal
a8969d01e8 Poke CI 2021-10-06 14:53:29 -04:00
maier
d644c6bef6 fix: mem/mem_solaris.go:148:42: cannot use swapsCommandPath (type string) as type context.Context in argument to invoke.CommandWithContext - add ctx to call 2021-10-06 11:11:09 -04:00
maier
87fc40cbd6 fix: mem/mem_solaris.go:146:59: undefined: swapCommand - typo swapsCommand 2021-10-06 11:10:07 -04:00
Punya Biswal
7b10596d95 Poke CI 2021-10-04 12:23:07 -04:00
shirou
5e4b256b03
Merge pull request #1141 from shirou/feature/update_github_action_environment_202110
Update github action virtual environments and golang version
2021-10-03 23:35:08 +09:00
shirou
bf37f4d1ec Update github action virtual environments and golang version
Golang: 15,16 -> 16, 17
Ubuntu: 1604, 1804 -> 1804, 2004
Mac: 10.14, 11.0 -> 10.15, 11
2021-10-03 13:11:22 +00:00
Punya Biswal
bf1ba03736 Copy BSD implementation to v3 2021-10-01 14:22:36 -04:00
shirou
b057cf4b84 add release recipe in Makefile 2021-10-01 12:53:48 +00:00
shirou
c2f6682078
Merge pull request #1133 from derekhjray/master
v3/diss (Linux): fix disk retrieve partition issue while using in container
v3.21.9
2021-09-30 22:51:49 +09:00
shirou
b39f8bb90e
[v2][disk][linux] apply DiskPartiton change to v2 2021-09-30 21:42:30 +09:00
shirou
8d02cf8b0c
Merge pull request #1138 from shirou/feature/v3_add_swapdevice
[mem] Add mem.SwapDevices() to v3
2021-09-30 18:06:37 +09:00
shirou
7be7e7807f [process] extend maxElapsedTime on process_test 2021-09-30 07:47:05 +00:00
shirou
9e82343ffb [mem] fix import path 2021-09-30 07:08:34 +00:00
shirou
8177d340fd [mem] Add swapdevice 2021-09-30 02:15:30 +00:00
shirou
8d7a3abddb
Merge pull request #1131 from punya/tbarker25-swap-contd
Add swapdevices method (continued from #1120)
2021-09-30 00:22:03 +09:00
shirou
532241fa78
Merge pull request #1137 from mx-psi/mx-psi/fix-duplicate-symbol
Rename `readdrivestat` function on v3
2021-09-29 23:41:00 +09:00
shirou
582bb14d8a
[linux][mem] remove unnecessary import 2021-09-29 22:55:44 +09:00
Pablo Baeyens
78e8d0adf0
Rename 'readdrivestat' function on v3
Signed-off-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
2021-09-29 12:41:41 +02:00
Punya Biswal
32b14a3723 Use invoke.CommandWithContext 2021-09-28 10:09:43 -04:00
shirou
cc70488af8
Merge pull request #1134 from rasa/patch-2
Fix minor typos, formatting tweaks
2021-09-26 20:51:49 +09:00
Ross Smith II
5f0e37d823
Fix minor typos, formatting tweaks 2021-09-25 07:11:07 -07:00
shirou
80d5b57405
Merge pull request #1132 from rasa/rasa/add_arm_support
Add arm/arm64 support on Windows (fixes #916)
2021-09-19 23:44:51 +09:00
Derek Ray
1fa38051cb v3/diss (Linux): fix disk retrieve partition issue while using in container 2021-09-18 17:17:59 +08:00
Ross Smith II
14b7231917 Add arm/arm64 support on Windows 2021-09-14 17:06:54 -07:00
shirou
ce5729cbcd
Merge pull request #1130 from sunshineplan/master
v3/process (Win): fix Kill() DuplicateHandle error
2021-09-11 11:11:55 +09:00
Punya Biswal
5169bfe02d
Update mem/mem_bsd.go
Co-authored-by: shirou <shirou.faw@gmail.com>
2021-09-10 21:36:00 -04:00
Punya Biswal
7c1aa06a5e Respond to review comments
* use LookPath for better error messages
* support procfs in containers
2021-09-08 16:15:26 -04:00