Commit Graph

2428 Commits (4870f6f119fadb622039e083a9e2280f1da415b5)
 

Author SHA1 Message Date
shirou 4870f6f119
Merge pull request #1569 from scop/perf/regex-compile
Avoid repeated regexp compilations
1 year ago
shirou 08afc01d17
Merge pull request #1570 from scop/perf/unnecessary-regexps
Avoid some uses of regexps
1 year ago
Ville Skyttä 11bc5b3970 Avoid some uses of regexps 1 year ago
Ville Skyttä 362fa4b9c4 Avoid repeated regexp compilations 1 year ago
shirou 108235a098
Merge pull request #1561 from keeword/master
add deepin and uos distro
1 year ago
shirou f308985abb
Merge pull request #1563 from shirou/dependabot/github_actions/actions/upload-artifact-4.0.0
chore(deps): bump actions/upload-artifact from 3.1.3 to 4.0.0
1 year ago
dependabot[bot] 5ce87a6113
chore(deps): bump actions/upload-artifact from 3.1.3 to 4.0.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.3 to 4.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](a8a3f3ad30...c7d193f32e)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
shirou 4b820ed2ca
Merge pull request #1564 from shirou/revert-1559-dependabot/github_actions/actions/labeler-5.0.0
Revert "chore(deps): bump actions/labeler from 4.3.0 to 5.0.0"
1 year ago
shirou b9cb0e2f30
Revert "chore(deps): bump actions/labeler from 4.3.0 to 5.0.0" 1 year ago
shirou 3776279c0f
Merge pull request #1559 from shirou/dependabot/github_actions/actions/labeler-5.0.0
chore(deps): bump actions/labeler from 4.3.0 to 5.0.0
1 year ago
Xie Weineng 0de2d14a7c add deepin and uos distro 1 year ago
shirou 9deadc9914
Merge pull request #1560 from shirou/dependabot/github_actions/actions/setup-go-5.0.0
chore(deps): bump actions/setup-go from 4.1.0 to 5.0.0
1 year ago
dependabot[bot] 9dd090e1b0
chore(deps): bump actions/setup-go from 4.1.0 to 5.0.0
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4.1.0 to 5.0.0.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](93397bea11...0c52d547c9)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
dependabot[bot] 4086e97048
chore(deps): bump actions/labeler from 4.3.0 to 5.0.0
Bumps [actions/labeler](https://github.com/actions/labeler) from 4.3.0 to 5.0.0.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](ac9175f8a1...8558fd7429)

---
updated-dependencies:
- dependency-name: actions/labeler
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
shirou 321901ee51
Merge pull request #1554 from shirou/dependabot/go_modules/golang.org/x/sys-0.15.0
chore(deps): bump golang.org/x/sys from 0.14.0 to 0.15.0
1 year ago
dependabot[bot] e1bb8db88f
chore(deps): bump golang.org/x/sys from 0.14.0 to 0.15.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.14.0 to 0.15.0.
- [Commits](https://github.com/golang/sys/compare/v0.14.0...v0.15.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
shirou fad5e68647
Merge pull request #1551 from blinklabs-io/feat/use-lsof-freebsd-connections
feat: use lsof for net_connections on FreeBSD
1 year ago
Chris Gianelloni a8418dfd73 feat: use lsof for net_connections on FreeBSD
Use net.ConnectionsPidWithContext on FreeBSD, similarly to how it is done
on Darwin. This uses common.CallLsofWithContext underneath the hood, which
will use lsof under the hood, if available.

Tested on FreeBSD 13.2-RELEASE

Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
1 year ago
shirou e74324b6a7
Merge pull request #1548 from shirou/dependabot/go_modules/golang.org/x/sys-0.14.0
chore(deps): bump golang.org/x/sys from 0.13.0 to 0.14.0
1 year ago
dependabot[bot] 807d466078
chore(deps): bump golang.org/x/sys from 0.13.0 to 0.14.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.13.0 to 0.14.0.
- [Commits](https://github.com/golang/sys/compare/v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
shirou a7e2bdf91c
Merge pull request #1544 from JanDeDobbeleer/master
fix(linux): validate cpu fields length before accessing index
1 year ago
Jan De Dobbeleer ac63a5690e
fix(windows): remove log statement 1 year ago
Jan De Dobbeleer a1eedcae8e
fix(linux): validate cpu fields length before accessing index 1 year ago
shirou c020a0890e
Merge pull request #1537 from shirou/feat/fix_darwin_host_users
[host][darwin]: fix Users
1 year ago
shirou 4ad4406c03
Merge pull request #1542 from shirou/dependabot/github_actions/actions/checkout-4.1.1
chore(deps): bump actions/checkout from 4.1.0 to 4.1.1
1 year ago
dependabot[bot] be90da9b83
chore(deps): bump actions/checkout from 4.1.0 to 4.1.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](8ade135a41...b4ffde65f4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
shirou 9c1cf1ca59
Merge pull request #1538 from shirou/dependabot/go_modules/github.com/google/go-cmp-0.6.0
chore(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0
1 year ago
dependabot[bot] 2121939c2a
chore(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.9 to 0.6.0.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.9...v0.6.0)

---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
shirou 4b46f2b70c [host][darwin]: fix Users 1 year ago
shirou 5ee64c6190
Merge pull request #1531 from shirou/dependabot/github_actions/actions/checkout-4.1.0
chore(deps): bump actions/checkout from 4.0.0 to 4.1.0
1 year ago
dependabot[bot] 3389897156
chore(deps): bump actions/checkout from 4.0.0 to 4.1.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](3df4ab11eb...8ade135a41)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
shirou 21fe65fb5c
Merge pull request #1536 from shirou/feat/skip_nice_on_ci
[process][darwin]: skip process.Nice test if darwin on GitHub Action
1 year ago
shirou 83427f964f [process][darwin]: skip process.Nice test if darwin on GitHub Action
fix: https://github.com/shirou/gopsutil/issues/1532
1 year ago
shirou 48960df563
Merge pull request #1535 from shirou/dependabot/go_modules/golang.org/x/sys-0.13.0
chore(deps): bump golang.org/x/sys from 0.12.0 to 0.13.0
1 year ago
dependabot[bot] f1405efa25
chore(deps): bump golang.org/x/sys from 0.12.0 to 0.13.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.12.0 to 0.13.0.
- [Commits](https://github.com/golang/sys/compare/v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
shirou 826376d46a
Merge pull request #1530 from darkgeek/feature/netbsd-arm64-port
Add some support for NetBSD
1 year ago
Justin Yang 66ee833b9e Makefile: revert back to original one 1 year ago
Justin Yang 826037fe4b Fix build_test on amd64 NetBSD 1 year ago
Justin Yang 7ffb24dbe3
Merge branch 'shirou:master' into feature/netbsd-arm64-port 1 year ago
Justin Yang def3572629 format the code 2 years ago
Justin Yang 4a46201e00 cpu && host: fix compile time errors 2 years ago
Justin Yang 734a7a6e55 disk: we should use frsize as the real block size 2 years ago
Justin Yang dd0253b0ec disk: fix various bugs 2 years ago
shirou 2fabf15a16
Merge pull request #1527 from tossp/add-load-for-windows
[load][windows] Fix DATA RACE in load. Avg()
2 years ago
TossPig 03d43fb5a2
[load][windows] Fix DATA RACE in load. Avg()
fixed #1526
2 years ago
Matthieu MOREL c806740b34
ci(lint): ensure io/ioutil replacement (#1525)
* ci(lint): enure ioutil replacement

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>

* Update host_solaris.go
* Update process_linux_test.go
* Update net_linux_test.go
* Update net_linux_test.go
* Update process_test.go
* Update process_linux_test.go
* Update process_linux_test.go

---------

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2 years ago
Justin Yang 319f5ea6e5 disk: small improvement, but still doesn't work 2 years ago
shirou 0e9f13304d
Merge pull request #1524 from shirou/feature/replace_ioutil
chore: replace deprecated ioutil package to os and io
2 years ago
Justin Yang 1136aa25da disk: code can be compiled now, but test still failed though 2 years ago
Justin Yang ec817bfa68 disk: code cleanup (not finish yet) 2 years ago