Commit Graph

2540 Commits (df9c9bf3400d8e28df3a7817f52419413270f595)
 

Author SHA1 Message Date
shirou a9a6146c93 [process] fix MemoryInfo comment. remove Swap
fixes #1012
4 years ago
shirou be483f0a78
Merge pull request #1017 from rishabh-arya95/hotfix/smap-parser
[process][linux] Fixing smaps parser
4 years ago
Lomanic 8fd13bfa55
Merge pull request #1019 from MashaSamoylova/unix-udp4-fix
Fix lsof args for udp4 in unix
4 years ago
MashaSamoylova 7631bb0e5e Fix lsof args for udp4 in unix 4 years ago
Rishabh Arya 5b1d8ecae7 fix smap parser 4 years ago
fG! ab33d5ec89
Fix wrong user count
There are empty entries in OpenBSD's utmp that have a line and time entry but no user logged in (the entry is "cleared" after user logs out but not totally as expected in the code here). Current checks are insufficient so check if Name field is empty and skip in that case.
4 years ago
shirou afe0c04c5d
Merge pull request #1008 from imsodin/patch-1
use rest syntax not markdown
4 years ago
Simon Frei 72d4813f24
use rest syntax not markdown 4 years ago
Lomanic ebd8102702
Merge pull request #897 from james-bebbington/load-processes-created 4 years ago
Lomanic 94e574749b
Merge pull request #995 from Lomanic/fix-mktypessh-v3 4 years ago
Lomanic a6ed12aa0e
Merge pull request #998 from shirou/feature/implement_load_windows_v3
[v3][load][windows] implement load.Avg on windows
4 years ago
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
4 years ago
Lomanic cd25417bd7 [mem][linux] Fix #1002 only try to parse /proc/meminfo numeric values on fields we're interested in 4 years ago
Lomanic 07887a9e9f [mem][linux] Add mocked test for VirtualMemory() and fix SReclaimable SUnreclaim retrieval 4 years ago
Lomanic ca10f91f44
Merge pull request #1003 from ajacoutot/v3-process-openbsd
v3/process: unbreak on OpenBSD
4 years ago
Antoine Jacoutot 0178a24563 v3/process: unbreak on OpenBSD
Fix camel case: GetpageSizeWithContext -> GetPageSizeWithContext
4 years ago
Shirou Wakayama 74e1643f82 [load][windows] implement load on windows. 4 years ago
shirou 340db113de
Merge pull request #997 from shirou/feature/remove_circle_ci
remove circleci testing
4 years ago
shirou 34412e0b7f [net] relax NetIOCounterAll test 4 years ago
shirou fd963e2e16 remove circleci, change to use go 1.13 for testing.
and badge.
4 years ago
shirou 6286bea32a
Merge pull request #989 from Lomanic/issue734tests
[ci] Implement automatic tests on GH Actions on linux, windows and darwin
4 years ago
shirou 2fb5da2f24
Merge pull request #977 from AtakanColak/add-load-for-windows
[load][windows] Implement load.Avg() for Windows
4 years ago
shirou 2c0ad9dfac
Merge pull request #988 from Lomanic/cpu-remove-windows-specific-dead-code
[v3][cpu][windows] Remove exported windows-specific dead code
4 years ago
Lomanic 2f46781b0e Make shell scripts shellcheck-compliant 4 years ago
Lomanic b0b7969cbf [ci] Implement automatic shellcheck test on GH Actions 4 years ago
Lomanic d6f7462429 Make mktypes.sh generate code for v3 4 years ago
AtakanColak 277c95057b tidy up loop control and mutex 4 years ago
AtakanColak b2a3574216 remove percent 4 years ago
AtakanColak fb44aead39 use ticker and explicit contants 4 years ago
Lomanic 318614d7ed [v3][process][darwin] Fix test Test_Pids_Fail missing testdata folder 4 years ago
Lomanic 995610e109 [process][windows] Fix Nice() test expecting Unix values 4 years ago
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
4 years ago
Lomanic 148a662b06 [process][darwin] Remove Groups() as it's non-functional 4 years ago
Lomanic 64e16cc8c3 [net][darwin] Fix tests with mismatched types 4 years ago
Lomanic 7f0ba43398 [net][darwin][freebsd] Fix tests with func not returning common.ErrNotImplementedError 4 years ago
Lomanic 907e475a45 [v3][process] Fix Test_Process_Status test with new Status() API 4 years ago
Lomanic 29304ebf73 [ci] Implement automatic tests on GH Actions on linux, windows and darwin
Based off 3710bfcc3e/.github/workflows/test.yml
4 years ago
shirou 7e5409b131
Merge pull request #991 from Lomanic/issue849-newer-api
[cpu][linux] Get logical cores in Counts() with non-deprecated kernel API first
4 years ago
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
4 years ago
AtakanColak 498a39984d tidy comments 4 years ago
Lomanic e1b5db2987
Merge pull request #984 from bi-zone/udp6-fix 4 years ago
Lomanic 87b3c898bf [doc] Fix links in v3Changes.md 4 years ago
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.
4 years ago
Lomanic f2b8fbd047
Merge pull request #983 from shirou/v3_fix_cpu_windows_struct_name
[cpu][windows] fix CPU struct name on windows.
4 years ago
shirou 6b690e8250
Merge pull request #985 from Lomanic/fix-labeler-ci
Fix labeler CI "HttpError: Resource not accessible by integration" error
4 years ago
Lomanic 596154ddc6 Fix labeler CI "HttpError: Resource not accessible by integration" error
See https://github.com/actions/labeler/issues/12#issuecomment-670967607
4 years ago
MashaSamoylova 860f332c22 Fix getting udp6 ports 4 years ago
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
4 years ago
shirou 9e51e095ad [cpu][windows] fix CPU struct name on windows. 4 years ago
shirou a1e77476b2
Merge pull request #938 from shirou/feature/migration_to_v3
v3 migration
4 years ago