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

23 Commits

Author SHA1 Message Date
Antoine Jacoutot
0178a24563 v3/process: unbreak on OpenBSD
Fix camel case: GetpageSizeWithContext -> GetPageSizeWithContext
2020-11-29 11:53:05 +01:00
shirou
34412e0b7f [net] relax NetIOCounterAll test 2020-11-19 22:24:36 +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
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
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
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
Lomanic
e1b5db2987
Merge pull request #984 from bi-zone/udp6-fix 2020-11-05 20:31:19 +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
MashaSamoylova
860f332c22 Fix getting udp6 ports 2020-11-04 09:32:02 +07:00
shirou
9e51e095ad [cpu][windows] fix CPU struct name on windows. 2020-11-02 22:01:27 +09:00
shirou
8e2446b0ac [v3][process] apply #962 2020-10-31 23:39:29 +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