Commit Graph

2772 Commits (92e037d58cc4d2b6e62455d19bfb41fce7bded74)
 

Author SHA1 Message Date
shirou a19cedeb30
Merge pull request #1727 from uubulb/fix_sensors_darwin_arm64
sensors: avoid passing nil pointer to CFArrayGetCount
5 months ago
shirou c9da2cc0aa
Merge pull request #1731 from Lomanic/issue1645
[cpu][disk][netbsd] Generate arm-specific definitions
5 months ago
shirou 44c71b62c0
Merge pull request #1722 from uubulb/fix_windows_mem
fix(mem): possible memory leak on Windows
5 months ago
shirou 30457973b5
Merge pull request #1735 from shirou/dependabot/github_actions/actions/upload-artifact-4.4.3
chore(deps): bump actions/upload-artifact from 4.4.0 to 4.4.3
5 months ago
shirou 7422a58e32
Merge pull request #1733 from shirou/dependabot/github_actions/actions/cache-4.1.1
chore(deps): bump actions/cache from 4.0.2 to 4.1.1
5 months ago
dependabot[bot] c30c83bf4a
chore(deps): bump actions/upload-artifact from 4.4.0 to 4.4.3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.0 to 4.4.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](50769540e7...b4b15b8c7c)

---
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>
5 months ago
dependabot[bot] 9fc4f64913
chore(deps): bump actions/cache from 4.0.2 to 4.1.1
Bumps [actions/cache](https://github.com/actions/cache) from 4.0.2 to 4.1.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](0c45773b62...3624ceb22c)

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

Signed-off-by: dependabot[bot] <support@github.com>
5 months ago
Lomanic 68512056e8
Merge pull request #1729 from shirou/dependabot/github_actions/actions/checkout-4.2.1
chore(deps): bump actions/checkout from 4.2.0 to 4.2.1
5 months ago
Lomanic ec973203e9 [disk][netbsd] Generate cpu_netbsd_arm.go via mktypes.sh 5 months ago
Lomanic c37a5eba8c [cpu][netbsd] Fix "undefined: cpuTimes" error at compile time on arm
Fixes #1645
5 months ago
dependabot[bot] 9732546382
chore(deps): bump actions/checkout from 4.2.0 to 4.2.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](d632683dd7...eef61447b9)

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

Signed-off-by: dependabot[bot] <support@github.com>
5 months ago
uubulb 10d9c04c2e sensors: avoid passing nil pointer to CFArrayGetCount 5 months ago
dependabot[bot] 4cb0abd1d2
chore(deps): bump golang.org/x/sys from 0.25.0 to 0.26.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.25.0 to 0.26.0.
- [Commits](https://github.com/golang/sys/compare/v0.25.0...v0.26.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>
5 months ago
uubulb 3773f6fe43 fix(mem): possible memory leak on Windows 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
Vyacheslav Artemiev 3f241a0b08 feat(mem): Add windows commit stats
Closes Expose MemCommit info for Windows #1719
5 months ago
shirou 2e10d9f7d0
Merge pull request #1715 from henrygd/master
Fix error message typo in sensors_linux
6 months ago
NitroCao fcdd277935 fix: release process after os.FindProcess() 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