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

1667 Commits

Author SHA1 Message Date
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
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
Lomanic
f2b8fbd047
Merge pull request #983 from shirou/v3_fix_cpu_windows_struct_name
[cpu][windows] fix CPU struct name on windows.
2020-11-05 18:39:19 +01:00
shirou
6b690e8250
Merge pull request #985 from Lomanic/fix-labeler-ci
Fix labeler CI "HttpError: Resource not accessible by integration" error
2020-11-05 11:16:49 +09:00
Lomanic
596154ddc6 Fix labeler CI "HttpError: Resource not accessible by integration" error
See https://github.com/actions/labeler/issues/12#issuecomment-670967607
2020-11-05 00:08:55 +01:00
MashaSamoylova
860f332c22 Fix getting udp6 ports 2020-11-04 09:32:02 +07:00
AtakanColak
2c98f69e11 add load v2
tidied up common/windows
added load benchmark for load_test
cpu percent is used as load if queue is zero
2020-11-02 16:54:39 +03:00
shirou
9e51e095ad [cpu][windows] fix CPU struct name on windows. 2020-11-02 22:01:27 +09:00
shirou
a1e77476b2
Merge pull request #938 from shirou/feature/migration_to_v3
v3 migration
v3.20.10
2020-11-01 13:33:05 +09:00
shirou
407a11a7e1 [v3] add to labeler. 2020-11-01 13:27:54 +09:00
shirou
99de861280 [v3] update README 2020-11-01 00:39:46 +09:00
shirou
8e2446b0ac [v3][process] apply #962 2020-10-31 23:39:29 +09:00
shirou
09af60d248 [v3 migration] add more changelog and README. 2020-10-31 23:29:25 +09:00
shirou
b7e74218ca [v3 migration] change process.Status returns []string with no letter status string. 2020-10-31 23:29:25 +09:00
shirou
4b5a200e71 [v3 migration] change return type to CgroupCPUStat 2020-10-31 23:29:24 +09:00
shirou
6920de8509 [v3 migration] Fixed temperature sensors detection in Linux #905 2020-10-31 23:29:24 +09:00
shirou
05fef68f42 [v3 migration] change net.[]InterfaceAddr to net.InterfaceAddrList 2020-10-31 23:29:24 +09:00
shirou
33e4b67dfc [v3] rename Label and SerialNumber to all platform from linux specific. 2020-10-31 23:29:24 +09:00
shirou
005a35c436 [v3 migartion] add v3 sourcodes, and change disk.opts to []string 2020-10-31 23:29:24 +09:00
shirou
2f4e0de9bf rename tools to _tools 2020-10-31 23:29:24 +09:00
shirou
1fb8e86fd8 remove unused struct in process_windows.go 2020-10-31 23:29:24 +09:00
shirou
10473900b7 add more JSON incorrect names. 2020-10-31 23:29:24 +09:00
shirou
558b36a764 fix platform dependent exported values. 2020-10-31 23:29:24 +09:00
shirou
bdd85e5bc0 fix #545 2020-10-31 23:29:24 +09:00
shirou
9bbeb5bc81 initial commit of v3 migration. 2020-10-31 23:29:24 +09:00
Lomanic
f810d518bb
Merge pull request #962 from AtakanColak/fix-ppid-race-961
Fix Windows Ppid Cache Race Condition
2020-10-29 20:52:08 +01:00
shirou
bb232c46d3
Merge pull request #980 from shirou/feature/fix_tests_and_not_implemented_error
fix test and openbsd errors.
2020-10-26 22:12:24 +09:00
shirou
95c6cb4308
Merge pull request #978 from shirou/feature/refactor_disk_without_context_functions
[disk] move non-"WithContext()" functions to platform-agnostic files
2020-10-26 22:08:26 +09:00
shirou
f377a07e5a fix test and openbsd errors. 2020-10-25 19:06:59 +09:00
shirou
9ffeb8d368
Merge pull request #979 from ajacoutot/openbsd-process
process: unbreak build on OpenBSD
2020-10-25 15:23:49 +09:00