Commit Graph

1700 Commits (a44e7585f91387faa28ce946df48ce8a8a8800e2)
 

Author SHA1 Message Date
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
shirou 407a11a7e1 [v3] add to labeler. 4 years ago
shirou 99de861280 [v3] update README 4 years ago
shirou 8e2446b0ac [v3][process] apply #962 4 years ago
shirou 09af60d248 [v3 migration] add more changelog and README. 4 years ago
shirou b7e74218ca [v3 migration] change process.Status returns []string with no letter status string. 4 years ago
shirou 4b5a200e71 [v3 migration] change return type to CgroupCPUStat 4 years ago
shirou 6920de8509 [v3 migration] Fixed temperature sensors detection in Linux #905 4 years ago
shirou 05fef68f42 [v3 migration] change net.[]InterfaceAddr to net.InterfaceAddrList 4 years ago
shirou 33e4b67dfc [v3] rename Label and SerialNumber to all platform from linux specific. 4 years ago
shirou 005a35c436 [v3 migartion] add v3 sourcodes, and change disk.opts to []string 4 years ago
shirou 2f4e0de9bf rename tools to _tools 4 years ago
shirou 1fb8e86fd8 remove unused struct in process_windows.go 4 years ago
shirou 10473900b7 add more JSON incorrect names. 4 years ago
shirou 558b36a764 fix platform dependent exported values. 4 years ago
shirou bdd85e5bc0 fix #545 4 years ago
shirou 9bbeb5bc81 initial commit of v3 migration. 4 years ago
Lomanic f810d518bb
Merge pull request #962 from AtakanColak/fix-ppid-race-961
Fix Windows Ppid Cache Race Condition
4 years ago
shirou bb232c46d3
Merge pull request #980 from shirou/feature/fix_tests_and_not_implemented_error
fix test and openbsd errors.
4 years ago
shirou 95c6cb4308
Merge pull request #978 from shirou/feature/refactor_disk_without_context_functions
[disk] move non-"WithContext()" functions to platform-agnostic files
4 years ago
shirou f377a07e5a fix test and openbsd errors. 4 years ago
shirou 9ffeb8d368
Merge pull request #979 from ajacoutot/openbsd-process
process: unbreak build on OpenBSD
4 years ago
Antoine Jacoutot 013cd610f5 process: unbreak build on OpenBSD
Match FreeBSD code to prevent:
process_openbsd.go:230:10: cannot use k.Groups (type [16]uint32) as type []int32 in return argument
4 years ago
shirou 1f733a99dc [disk] move without context functions to disk.go. 4 years ago
shirou cf222ab258
Merge pull request #975 from shirou/feature/remove_disk_partition_args_on_bsds
Feature/remove disk partition args on bsds
4 years ago
AtakanColak 13602a3824 fix ppid cache race condition #964 4 years ago
AtakanColak 24e6d6d350 add load to windows 4 years ago
shirou f258441486 add more platform to labeler. 4 years ago
shirou 23a52469fa add github labeler to set labels automatically. 4 years ago
shirou fb1c75054a [disk] Partition returns all list even if argument is False.
According to https://github.com/giampaolo/psutil/issues/906,
all BSD system returns same information `df` and `df -a`.
4 years ago
shirou 3202231bcd
Merge pull request #966 from boogie-byte/dry-process
Refactor "process" package
4 years ago
Lomanic 34fbc94ac1
Merge pull request #963 from AtakanColak/simpler-virt-cache
Simplify Fix Virtualization Cache Race Condition
4 years ago
Lomanic 278ae7d3a6
Merge pull request #970 from Lomanic/issue958 4 years ago
Lomanic 32d4603d01 [disk][darwin] fix build with latest golang.org/x/sys/unix
Fixes #958
4 years ago
Atakan 3504ea07b0 simplify virt cache 4 years ago
Sergey Vinogradov 065e609cbf Refactor "process" package
* All context-less wrapping functions (the ones without WithContext
suffix) were moved into process.go since they all are the same.
* Call context is now passed to all underlying functions in
*WithContext() functions.
* All common *BSD bits were moved to process_bsd.go.
* Process.Tgid() method lacked a WithContext counterpart, so
Process.TgidWithContext() was added for uniformity.
* NewProcessWithContext() function was added since NewProcess() is
used a lot throughout the module, and there is no way to pass a
context to it.

This is a part of #761 effort.
4 years ago
shirou b94f262e7d
Merge pull request #949 from boogie-byte/vet-target
Add "vet" target to the Makefile
4 years ago
shirou 7144fe3fff
Merge pull request #955 from fancybits/disk-bind-root
[disk][linux] flag bind mounts
4 years ago
shirou ad46664943
Merge pull request #951 from rmfitzpatrick/fix_virtualization_race
Fix VirtualizationWithContext() race in linux
4 years ago
shirou fe68b86b08
Merge pull request #948 from AtakanColak/windows-cache-ppid
Cache Process Parent ID in Windows
4 years ago
Sergey Vinogradov 8ff2ab3187 Add "vet" target to the Makefile
Making the "vet" target will run "go vet ./..." for each supported
GOOS.

Also, some of the warnings produced by go 1.15 vet were mitigated.
4 years ago