1
0
mirror of https://github.com/google/gops.git synced 2024-11-24 08:22:25 +02:00
Commit Graph

10 Commits

Author SHA1 Message Date
segevda
a241038823
replace ioutil usages with io and os (#202)
ioutil was deprecated in go1.16 and its functions now directly call io
and os functions. It is recommended to use these implementations in new
code.
2023-02-10 14:03:23 +01:00
zhsj
eebecad9f8
goprocess: replace go-ps with gopsutil (#187)
The keybase's fork of go-ps seems abandoned, and gopsutil is already
introduced with same functionalities.
2022-11-25 14:16:13 +01:00
Tobias Klauser
53ee352cc8 goprocess: use debug/buildinfo on Go 1.18 and newer
Use package debug/buildinfo [1] introduced in Go 1.18 [2] when possible.
This should avoid previous issues with rsc.io/goversion where Go
processes were no longer listed.

[1] https://pkg.go.dev/debug/buildinfo
[2] https://go.dev/doc/go1.18#debug/buildinfo

For #102
For #159
For #160
2022-05-04 22:48:20 +02:00
yarcat
5d514cabbb
goprocess: add test for FindAll (#127)
The test verifies that #123 is fixed and prevents future regressions.
2020-09-10 10:12:57 +02:00
JBD
c9150606f9
Fix the worker concurrency model (#126)
Limit the number of concurrent workers by starting a fixed number of goroutines and providing work by an input channel.

Fixes #123
2020-09-07 14:23:34 -07:00
sans
b96604fa98
goprocess: fix EMFILE error on macOS Catalina (#118)
Limit the number of concurrent goroutines to avoid EMFILE on macOS Catalina.
2020-08-05 10:11:35 +02:00
Jack Mordaunt
160b358b10 Fixed data race. (#68) 2018-03-10 21:24:15 -08:00
Emmanuel T Odeke
d858829db9 goversion: use rsc.io/goversion/version instead of internal package (#47)
Follow up of
112843115d (commitcomment-23936637)

Solves the problem of us having to manually watch
upstream and pull in bug fixes and updates, if our
internal copy goes stale.

Fixes #22.
2017-09-04 11:53:45 -07:00
Jaana Burcu Dogan
bfd379ce45 goprocess: report info about a single process 2017-09-04 11:45:49 -07:00
Jaana Burcu Dogan
5c0015f27d Export Go process reporting section as a package. 2017-08-28 19:33:06 -07:00