Commit Graph

169 Commits (0cc39fe6ca49adf0e1126a659b422dd4a719fa5f)

Author SHA1 Message Date
Tobias Klauser 0cc39fe6ca
v3/process: remove unused .cgo file
The process_darwin_amd64.go.cgo file was probably added by mistake. The
go tool does not recognize the .cgo extension, so it's already excluded
from the build. The real type and const definitions are in
process_darwin_amd64.go already.
4 years ago
shirou de385f50a8
Merge pull request #1182 from kestrelcjx/kestrel/process
fix(process): fix the bug that the program is hung when getting the f…
4 years ago
kestrelcjx a0b6077502 chore(process): change the return value 4 years ago
kestrelcjx 3b61bb2833 chore(process): add ctx.Done() to break select 4 years ago
shirou a00b8eac52
Merge pull request #1181 from mikemorris/patch-1
deps: switch to recommended fork of StackExchange/wmi
4 years ago
shirou 0fdf65fa3e Change to use yusufpapurcu/wmi from StackExchange/wmi. 4 years ago
kestrelcjx db054ec106 fix(process): fix the bug that the program is hung when getting the file name 4 years ago
Tobias Klauser d935ecccea mem: use unix.SysctlUint64 for hw.memsize on darwin
Use unix.SysctlUint64 which directly returns an uint64 rather than
converting it from a string.
4 years ago
shirou 78065a7ce2
Merge pull request #1177 from chbuescher/master
add initial aix support
4 years ago
shirou 0ce33dbe64
Merge pull request #1166 from easyops-cn/kestrel/process
feat(process): implement the 'OpenFilesWithContext' function of the windows system
4 years ago
xca1075 d8728fc85b add initial aix support 4 years ago
Matthieu MOREL 46ae9576ef
enable gosimple linter 4 years ago
shirou 9bbd81f709
Merge pull request #1105 from fmarmol/master
Switch usage from os.*File.Readdir to os.*File.ReadDir.
4 years ago
shirou 45a1287149 Merge branch 'dev' of github.com:rschmied/gopsutil into rschmied-dev 4 years ago
shirou e032a1c81d
Merge pull request #1059 from d1ss0nanz/issue1058
use ioreg to read IOPlatformUUID as HostID
4 years ago
kestrelcjx 5832fdfb9b chore(process): open file in process test case 4 years ago
Max Altgelt a4679b798b
feat: Add support for Cwd() on Windows 4 years ago
shirou 8f489b62d0
Merge branch 'master' into add-plan9-cpu 4 years ago
Ville Skyttä 09c3ba3896 [mem][solaris] simplify regular expressions 4 years ago
Ville Skyttä 093e68cb91 [mem][solaris] improve prtconf memory size scraping
Accept uppercase Memory, that's how it appears to be at least in Solaris
11.3 and OpenIndiana oi_151a7.
4 years ago
Ville Skyttä 768c3b1888 [mem][solaris] don't hardcode path to prtconf in error message 4 years ago
Adrien CABARBAYE 0953979fef Use ole with Arm Windows support 4 years ago
shirou 1777fa2fcc [v3][plan9][mem] fix fallback build tag 4 years ago
shirou 4db4dc09a0 [v3] fix Signal import on dragonfly OS in fallback 4 years ago
shirou 3e7da36a46 [mem][solaris] fix wrong variable name. 4 years ago
shirou b96339ab43 [v3] update x/sys version. 4 years ago
kestrel a60c462a3a feat(process): implement the 'OpenFilesWithContext' function of the windows system 4 years ago
lufia 0617d71557 [v3][cpu] add plan9 support 4 years ago
shirou 79c6edf913
Merge pull request #1148 from lufia/add-plan9-mem
[v3][mem] add plan9 support
4 years ago
shirou 54eae75ed3
Merge pull request #1150 from shirou/feature/fix_mem_bsd
[mem][bsd] fix missing arg
4 years ago
WAKAYAMA shirou 46d6fcc192 [mem][bsd] fix missing arg 4 years ago
shirou 285b4a4a01
Merge pull request #1142 from maier/master
fixes for mem_solaris.go
4 years ago
lufia 0eae055018 [v3][mem] add plan9 support 4 years ago
Lars Meyer db020a3546 [host][windows][v3] Fix Windows 11 reporting
While ProductName remains "Windows 10", versions with Build no. >= 22000
are Windows 11.
4 years ago
maier 4dcbf38c38 remove go1.17 build constraint 4 years ago
shirou 3ff6b5dd8b [v3][mem] add missing files. 4 years ago
shirou 5bdd02c944
Merge pull request #1140 from punya/proc-created-v3
Copy load.MiscStat ProcsCreated field from v2 to v3 (supersedes #1123)
4 years ago
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 4 years ago
maier 87fc40cbd6 fix: mem/mem_solaris.go:146:59: undefined: swapCommand - typo swapsCommand 4 years ago
Punya Biswal bf1ba03736 Copy BSD implementation to v3 4 years ago
shirou c2f6682078
Merge pull request #1133 from derekhjray/master
v3/diss (Linux): fix disk retrieve partition issue while using in container
4 years ago
shirou 7be7e7807f [process] extend maxElapsedTime on process_test 4 years ago
shirou 9e82343ffb [mem] fix import path 4 years ago
shirou 8177d340fd [mem] Add swapdevice 4 years ago
Pablo Baeyens 78e8d0adf0
Rename 'readdrivestat' function on v3
Signed-off-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
4 years ago
Florent 27a70bceed Change usage from os.*File.Readdir to os.*File.ReadDir. 4 years ago
Derek Ray 1fa38051cb v3/diss (Linux): fix disk retrieve partition issue while using in container 4 years ago
Ross Smith II 14b7231917 Add arm/arm64 support on Windows 4 years ago
sunshineplan 785e379e67 v3/process (Win): fix Kill() DuplicateHandle error 4 years ago
Tobias Klauser b764840fbf Update github.com/tklauser/go-sysconf to v0.3.9
This fixes the build with older Go versions due to missing GOARCH build
tags.

Release notes: https://github.com/tklauser/go-sysconf/releases/tag/v0.3.9
List of changes: https://github.com/tklauser/go-sysconf/compare/v0.3.8...v0.3.9
4 years ago