Commit Graph

2657 Commits (10d9c04c2e6ba871b3f32f1dab3889fa0016960c)
 

Author SHA1 Message Date
uubulb 10d9c04c2e sensors: avoid passing nil pointer to CFArrayGetCount 5 months ago
shirou 45e3591650
Merge pull request #1714 from shirou/dependabot/github_actions/actions/checkout-4.2.0
chore(deps): bump actions/checkout from 4.1.7 to 4.2.0
5 months ago
dependabot[bot] 3c43ac0060
chore(deps): bump actions/checkout from 4.1.7 to 4.2.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 4.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](692973e3d9...d632683dd7)

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

Signed-off-by: dependabot[bot] <support@github.com>
5 months ago
shirou 023f0cf765
Merge pull request #1721 from shirou/dependabot/github_actions/golangci/golangci-lint-action-6.1.1
chore(deps): bump golangci/golangci-lint-action from 6.1.0 to 6.1.1
5 months ago
dependabot[bot] b048ca575d
chore(deps): bump golangci/golangci-lint-action from 6.1.0 to 6.1.1
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](aaa42aa062...971e284b60)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
5 months ago
shirou 2e10d9f7d0
Merge pull request #1715 from henrygd/master
Fix error message typo in sensors_linux
6 months ago
Henry Dollman 112f4c00b7 Fix error message typo in sensors_linux 6 months ago
shirou 7ec134321c
Merge pull request #1713 from joshiste/joshiste-precise-create-time
Fix resolution for process create time limited to seconds
6 months ago
shirou 4140cda4ac
Merge pull request #1702 from uubulb/purego_darwin
feat(cpu, mem, sensors, disk, process)(darwin): cgo-free implementations
6 months ago
Johannes Edmeier 3dc12249d3
Allow subsecont precision for process create time 6 months ago
uubulb f56b53a155 update purego 6 months ago
shirou fdc3c05c92
Merge pull request #1712 from al-online/numfds_for_windows
implement process:NumFDs for Windows
6 months ago
huang 462736cb8b add comment for NumFDsWithContext 6 months ago
UUBulb 86b68e8d4f
Merge branch 'master' into purego_darwin 6 months ago
uubulb 9e6efdb991 update disk & cpu & process 6 months ago
huang cbc32afb65 implement NumFDs for Windows 6 months ago
shirou 6c06ac987e
Merge pull request #1707 from atoulme/add_proc_mountinfo
[common] add HOST_PROC_MOUNTINFO to EnvMap
6 months ago
shirou 7802a18557
Merge pull request #1703 from shirou/dependabot/go_modules/golang.org/x/sys-0.25.0
chore(deps): bump golang.org/x/sys from 0.24.0 to 0.25.0
6 months ago
shirou e89f21d7dc
Merge pull request #1706 from Lomanic/issue1698
[process][darwin][freebsd][linux][openbsd] Make process.Children not reliant on pgrep
6 months ago
Antoine Toulme 811185d3fe [common] add HOST_PROC_MOUNTINFO to EnvMap 6 months ago
Lomanic 76ccf0d220 [process][darwin][freebsd][linux][openbsd] Make process.Children not reliant on pgrep
pgrep -P $PID exits with status of 1 (and nothing in stdout nor stderr) both if
a process doesn't exist or it doesn't have child processes, so we don't
use it anymore on these OSes. We sort PIDs as pgrep did.

Also deprecate the ErrorNoChildren error when there are no child processes,
this is erroneous (simply check for the length of the returned slice, plus
this is not an error per se), this was only returned on linux anyway.

Fixes #1698
6 months ago
shirou 784157497b
Merge pull request #1705 from shirou/feat/remove_godoc_and_coverall
fix: remove coverall and godocs.io badge from README
6 months ago
shirou 97b1aaee94 fix: remove coverall and godocs.io badge from README 6 months ago
dependabot[bot] f824d50add
chore(deps): bump golang.org/x/sys from 0.24.0 to 0.25.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.24.0 to 0.25.0.
- [Commits](https://github.com/golang/sys/compare/v0.24.0...v0.25.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>
6 months ago
uubulb 701a74be41 feat(cpu, mem, sensors)(darwin): cgo-free implementations 6 months ago
shirou 211eb8ccb4
Merge pull request #1701 from shirou/dependabot/github_actions/actions/upload-artifact-4.4.0
chore(deps): bump actions/upload-artifact from 4.3.6 to 4.4.0
6 months ago
dependabot[bot] 050902aeaa
chore(deps): bump actions/upload-artifact from 4.3.6 to 4.4.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.6 to 4.4.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](834a144ee9...50769540e7)

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

Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
shirou 74cb403730
Merge pull request #1694 from fivitti/master
Fix panic on OpenBSD and FreeBSD systems if KinfoProc size has an unexpected size
7 months ago
shirou 7404c1f39d
Merge pull request #1699 from shirou/feat/win_disk_ignore_remote_drive_on_error
[disk][windows]: ignore network drive when not ready
7 months ago
shirou 72d3ba4191 [disk][windows]: ignore network drive when not ready 7 months ago
Cnpt 829f2fafbd
Refactoring the algorithm for calculating CPU usage (#1692)
refactor(process): Refactoring the algorithm for calculating CPU usage
7 months ago
shirou 2a37a1d32b
Merge pull request #1691 from pgimalac/pgimalac/fix-proc-smaps-parsing
Fix parsing of /proc/pid/smaps when path is empty
7 months ago
shirou 2c51005a94
Merge pull request #1697 from shirou/feature/fix_golangclilint_gosec
fix golangcilint errors, ignore gosec G115
7 months ago
shirou 37f531010d fix golangcilint errors, ignore gosec G115 7 months ago
shirou 904a5a4842
Merge pull request #1695 from Yurunsoft/patch-1
Fix badge link in README.md
7 months ago
Yurun 39c93c6a20
Fix badge link in README.md 7 months ago
Slawek Figiel 977269202e fix: handle invalid KinfoProc size on BSD systems 7 months ago
Pierre Gimalac d4ac231298
Merge branch 'master' of github.com:pgimalac/gopsutil into pgimalac/fix-proc-smaps-parsing 7 months ago
Pierre Gimalac a1f9e69b5d
fix: join path elements in case it contains spaces 7 months ago
shirou e8aa2144bd
Merge pull request #1667 from shirou/dependabot/github_actions/actions/checkout-4.1.7
chore(deps): bump actions/checkout from 4.1.5 to 4.1.7
7 months ago
shirou d5fea7bed1
Merge pull request #1685 from shirou/dependabot/github_actions/actions/upload-artifact-4.3.6
chore(deps): bump actions/upload-artifact from 4.3.4 to 4.3.6
7 months ago
shirou 770b84f6bf
Merge pull request #1693 from shirou/feat/fix_golangcilint_max_to_maxConn
fix: golangci lint with max -> maxConn
7 months ago
shirou 6a1c12a89d
Merge pull request #1680 from shirou/dependabot/github_actions/golangci/golangci-lint-action-6.1.0
chore(deps): bump golangci/golangci-lint-action from 6.0.1 to 6.1.0
7 months ago
shirou 5f158096be fix: golangci lint with max -> maxConn 7 months ago
Pierre Gimalac 33251d10ec
fix(proc): parsing of smaps path 7 months ago
shirou edff3add94
Merge pull request #1688 from zmyzheng/zmyzheng/fix-IOCountersWithContext
fix(IOCountersWithContext): Fix the issue of not using names to fil ter devices in func IOCountersWithContext of the windows implementation
7 months ago
Mingyang Zheng 16d7f3242c fix(IOCountersWithContext): Fix the issue of not using names to filter devices in func IOCountersWithContext of the windows implementation 7 months ago
shirou 6dfedba254
Merge pull request #1686 from shirou/dependabot/go_modules/golang.org/x/sys-0.24.0
chore(deps): bump golang.org/x/sys from 0.22.0 to 0.24.0
7 months ago
dependabot[bot] 24d2d79ab1
chore(deps): bump golang.org/x/sys from 0.22.0 to 0.24.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.22.0 to 0.24.0.
- [Commits](https://github.com/golang/sys/compare/v0.22.0...v0.24.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>
7 months ago
dependabot[bot] 5d59cf10f4
chore(deps): bump actions/upload-artifact from 4.3.4 to 4.3.6
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.4 to 4.3.6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](0b2256b8c0...834a144ee9)

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

Signed-off-by: dependabot[bot] <support@github.com>
7 months ago