1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-04-29 13:49:21 +08:00

1697 Commits

Author SHA1 Message Date
John Blesener
e8b2bea47f
Fix spaces on long process names for MacOS 2021-02-16 14:51:44 +09:00
shirou
3585d276bc
Merge pull request #1032 from shirou/remove_smc_files
[v3][cpu] remove accidentally added GPL files.
2021-02-08 20:14:27 +09:00
shirou
6d324b0586 [v3][cpu] remove accidentally added GPL files. 2021-02-08 20:08:50 +09:00
shirou
d765dfc473
Merge pull request #1027 from it-novum/fixwindowscounter
Fixes #1026 windows counters on non english systems
2021-02-06 21:21:39 +09:00
Johannes Drummer
76fb312c4b delete unused PdhAddCounterW 2021-02-06 13:11:41 +01:00
Johannes Drummer
7f11ad65d9 Merge branch 'master' into fixwindowscounter 2021-02-06 11:02:11 +01:00
Johannes Drummer
82b235c9f5 v2 windows counters on non english systems 2021-02-06 11:01:29 +01:00
Johannes Drummer
6e7f4ffe99 Fix windows counters on non english systems 2021-02-01 10:32:53 +01:00
shirou
a9a6146c93 [process] fix MemoryInfo comment. remove Swap
fixes #1012
v3.21.1
2021-01-14 19:00:55 +09:00
shirou
be483f0a78
Merge pull request #1017 from rishabh-arya95/hotfix/smap-parser
[process][linux] Fixing smaps parser
2021-01-14 18:46:38 +09:00
Lomanic
8fd13bfa55
Merge pull request #1019 from MashaSamoylova/unix-udp4-fix
Fix lsof args for udp4 in unix
2021-01-11 20:29:18 +01:00
MashaSamoylova
7631bb0e5e Fix lsof args for udp4 in unix 2021-01-11 17:08:18 +07:00
Rishabh Arya
5b1d8ecae7 fix smap parser 2021-01-03 21:06:54 +05:30
shirou
afe0c04c5d
Merge pull request #1008 from imsodin/patch-1
use rest syntax not markdown
v3.20.12
2020-12-10 22:46:52 +09:00
Simon Frei
72d4813f24
use rest syntax not markdown 2020-12-10 14:12:43 +01:00
Lomanic
ebd8102702
Merge pull request #897 from james-bebbington/load-processes-created 2020-12-02 01:17:29 +01:00
Lomanic
94e574749b
Merge pull request #995 from Lomanic/fix-mktypessh-v3 2020-12-02 00:00:57 +01:00
Lomanic
a6ed12aa0e
Merge pull request #998 from shirou/feature/implement_load_windows_v3
[v3][load][windows] implement load.Avg on windows
2020-12-01 23:58:24 +01:00
shirou
478eb4c76a
Merge pull request #1004 from Lomanic/issue1002
[mem][linux] Fix #1002 only try to parse /proc/meminfo numeric values on fields we're interested in
v3.20.11
2020-11-30 22:16:23 +09:00
Lomanic
cd25417bd7 [mem][linux] Fix #1002 only try to parse /proc/meminfo numeric values on fields we're interested in 2020-11-29 18:03:50 +01:00
Lomanic
07887a9e9f [mem][linux] Add mocked test for VirtualMemory() and fix SReclaimable SUnreclaim retrieval 2020-11-29 17:54:17 +01:00
Lomanic
ca10f91f44
Merge pull request #1003 from ajacoutot/v3-process-openbsd
v3/process: unbreak on OpenBSD
2020-11-29 15:05:56 +01:00
Antoine Jacoutot
0178a24563 v3/process: unbreak on OpenBSD
Fix camel case: GetpageSizeWithContext -> GetPageSizeWithContext
2020-11-29 11:53:05 +01:00
Shirou Wakayama
74e1643f82 [load][windows] implement load on windows. 2020-11-19 22:58:49 +09:00
shirou
340db113de
Merge pull request #997 from shirou/feature/remove_circle_ci
remove circleci testing
2020-11-19 22:57:46 +09:00
shirou
34412e0b7f [net] relax NetIOCounterAll test 2020-11-19 22:24:36 +09:00
shirou
fd963e2e16 remove circleci, change to use go 1.13 for testing.
and badge.
2020-11-19 21:53:41 +09:00
shirou
6286bea32a
Merge pull request #989 from Lomanic/issue734tests
[ci] Implement automatic tests on GH Actions on linux, windows and darwin
2020-11-19 21:46:19 +09:00
shirou
2fb5da2f24
Merge pull request #977 from AtakanColak/add-load-for-windows
[load][windows] Implement load.Avg() for Windows
2020-11-16 17:20:39 +09:00
shirou
2c0ad9dfac
Merge pull request #988 from Lomanic/cpu-remove-windows-specific-dead-code
[v3][cpu][windows] Remove exported windows-specific dead code
2020-11-12 21:39:05 +09:00
Lomanic
2f46781b0e Make shell scripts shellcheck-compliant 2020-11-11 23:04:20 +01:00
Lomanic
b0b7969cbf [ci] Implement automatic shellcheck test on GH Actions 2020-11-11 23:03:48 +01:00
Lomanic
d6f7462429 Make mktypes.sh generate code for v3 2020-11-11 22:58:39 +01:00
AtakanColak
277c95057b tidy up loop control and mutex 2020-11-09 10:50:09 +03:00
AtakanColak
b2a3574216 remove percent 2020-11-09 10:37:31 +03:00
AtakanColak
fb44aead39 use ticker and explicit contants 2020-11-09 10:00:22 +03:00
Lomanic
318614d7ed [v3][process][darwin] Fix test Test_Pids_Fail missing testdata folder 2020-11-08 17:26:21 +01:00
Lomanic
995610e109 [process][windows] Fix Nice() test expecting Unix values 2020-11-08 17:13:56 +01:00
Lomanic
5641beec4c [process][darwin] Fix Parent() when lsof returns warnings
Same as #867, the error being:
error strconv.Atoi: parsing "      Output information may be incomplete.": invalid syntax
2020-11-08 17:13:56 +01:00
Lomanic
148a662b06 [process][darwin] Remove Groups() as it's non-functional 2020-11-08 17:13:56 +01:00
Lomanic
64e16cc8c3 [net][darwin] Fix tests with mismatched types 2020-11-08 17:13:56 +01:00
Lomanic
7f0ba43398 [net][darwin][freebsd] Fix tests with func not returning common.ErrNotImplementedError 2020-11-08 17:13:56 +01:00
Lomanic
907e475a45 [v3][process] Fix Test_Process_Status test with new Status() API 2020-11-08 17:13:56 +01:00
Lomanic
29304ebf73 [ci] Implement automatic tests on GH Actions on linux, windows and darwin
Based off 3710bfcc3e/.github/workflows/test.yml
2020-11-08 17:13:56 +01:00
shirou
7e5409b131
Merge pull request #991 from Lomanic/issue849-newer-api
[cpu][linux] Get logical cores in Counts() with non-deprecated kernel API first
2020-11-07 10:53:58 +09:00
Lomanic
976679ee00 [cpu][linux] Get logical cores in Counts() with non-deprecated kernel API first
Implementing https://github.com/giampaolo/psutil/pull/1727#issuecomment-707624964
and bfae1fc4a3
2020-11-07 00:48:53 +01:00
AtakanColak
498a39984d tidy comments 2020-11-06 11:07:02 +03:00
Lomanic
e1b5db2987
Merge pull request #984 from bi-zone/udp6-fix 2020-11-05 20:31:19 +01:00
Lomanic
87b3c898bf [doc] Fix links in v3Changes.md 2020-11-05 20:18:12 +01:00
Lomanic
186fbc7fb4 [v3][cpu][windows] Remove exported windows-specific dead code
Users wanting to use this Windows-specific feature can still use github.com/StackExchange/wmi by themselves.
2020-11-05 20:16:23 +01:00