1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-04-24 13:48:56 +08:00

2630 Commits

Author SHA1 Message Date
shirou
74cb403730
Merge pull request #1694 from fivitti/master
Fix panic on OpenBSD and FreeBSD systems if KinfoProc size has an unexpected size
v4.24.8
2024-08-26 23:54:23 +09:00
shirou
7404c1f39d
Merge pull request #1699 from shirou/feat/win_disk_ignore_remote_drive_on_error
[disk][windows]: ignore network drive when not ready
2024-08-26 23:52:13 +09:00
shirou
72d3ba4191 [disk][windows]: ignore network drive when not ready 2024-08-25 22:49:43 +09:00
Cnpt
829f2fafbd
Refactoring the algorithm for calculating CPU usage (#1692)
refactor(process): Refactoring the algorithm for calculating CPU usage
2024-08-24 21:46:32 +09:00
shirou
2a37a1d32b
Merge pull request #1691 from pgimalac/pgimalac/fix-proc-smaps-parsing
Fix parsing of /proc/pid/smaps when path is empty
2024-08-24 17:21:17 +09:00
shirou
2c51005a94
Merge pull request #1697 from shirou/feature/fix_golangclilint_gosec
fix golangcilint errors, ignore gosec G115
2024-08-24 15:50:56 +09:00
shirou
37f531010d fix golangcilint errors, ignore gosec G115 2024-08-23 08:22:42 +00:00
shirou
904a5a4842
Merge pull request #1695 from Yurunsoft/patch-1
Fix badge link in README.md
2024-08-21 13:41:35 +09:00
Yurun
39c93c6a20
Fix badge link in README.md 2024-08-21 10:53:43 +08:00
Slawek Figiel
977269202e fix: handle invalid KinfoProc size on BSD systems 2024-08-20 12:40:07 +02:00
Pierre Gimalac
d4ac231298
Merge branch 'master' of github.com:pgimalac/gopsutil into pgimalac/fix-proc-smaps-parsing 2024-08-19 10:36:07 +02:00
Pierre Gimalac
a1f9e69b5d
fix: join path elements in case it contains spaces 2024-08-19 10:34:55 +02:00
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
2024-08-17 23:33:52 +09:00
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
2024-08-17 23:33:39 +09:00
shirou
770b84f6bf
Merge pull request #1693 from shirou/feat/fix_golangcilint_max_to_maxConn
fix: golangci lint with max -> maxConn
2024-08-17 23:33:17 +09:00
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
2024-08-17 22:53:20 +09:00
shirou
5f158096be fix: golangci lint with max -> maxConn 2024-08-17 22:41:29 +09:00
Pierre Gimalac
33251d10ec
fix(proc): parsing of smaps path 2024-08-14 19:06:48 +02:00
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
2024-08-14 22:16:55 +09:00
Mingyang Zheng
16d7f3242c fix(IOCountersWithContext): Fix the issue of not using names to filter devices in func IOCountersWithContext of the windows implementation 2024-08-09 15:40:01 -07:00
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
2024-08-09 15:50:01 +09:00
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>
2024-08-09 01:34:25 +00:00
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>
2024-08-07 01:02:08 +00:00
shirou
1915e9377e
Merge pull request #1677 from shirou/feat/win_mem_use_performance_counter_on_swap_memory
[windows][mem]: change to use Performance Counter on SwapMemory.
v4.24.7
2024-07-30 22:18:05 +09:00
dependabot[bot]
082c17b880
chore(deps): bump golangci/golangci-lint-action from 6.0.1 to 6.1.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.0.1 to 6.1.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](a4f60bb28d...aaa42aa062)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-30 01:40:30 +00:00
shirou
1221983189 [windows][mem]: change to use Performance Counter on SwapMemory. 2024-07-21 16:21:06 +09:00
shirou
262afcf2e6
Merge pull request #1673 from shirou/dependabot/github_actions/actions/upload-artifact-4.3.4
chore(deps): bump actions/upload-artifact from 4.3.3 to 4.3.4
2024-07-19 14:51:59 +09:00
shirou
3f547e4dd4
Merge pull request #1670 from coderZoe/bugfix_for_docker_memory
fix: docker_memory in centos_7.5 & docker_1.13.1
2024-07-19 14:51:43 +09:00
dependabot[bot]
88ac4ed061
chore(deps): bump actions/upload-artifact from 4.3.3 to 4.3.4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](65462800fd...0b2256b8c0)

---
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>
2024-07-19 05:40:49 +00:00
shirou
d04251e658
Merge pull request #1676 from shirou/feature/remove_macos11_on_github_actions
fix: remove macos11 and add ubuntu-24.04 on GitHub runner list.
2024-07-19 14:31:10 +09:00
shirou
79fe1617f5 fix: remove macos11 and add ubuntu-24.04 on GitHub runner list. 2024-07-19 05:16:57 +00:00
shirou
0fc9a73c61
Merge pull request #1672 from Girbons/fix/arm-temperature-sensors
fix: read temperature sensors darwin arm
2024-07-19 14:13:42 +09:00
shirou
dab07a32fa
Merge pull request #1674 from shirou/dependabot/github_actions/actions/setup-go-5.0.2
chore(deps): bump actions/setup-go from 5.0.1 to 5.0.2
2024-07-11 21:56:13 +09:00
dependabot[bot]
cf2a42d757
chore(deps): bump actions/setup-go from 5.0.1 to 5.0.2
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](cdcb360436...0a12ed9d6a)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-11 01:13:41 +00:00
Alessandro De Angelis
ba82fefdee fix: add SPDX 2024-07-08 16:09:48 +02:00
shirou
dec1eb337b
Merge pull request #1671 from shirou/dependabot/go_modules/golang.org/x/sys-0.22.0
chore(deps): bump golang.org/x/sys from 0.20.0 to 0.22.0
2024-07-06 21:14:47 +09:00
Alessandro De Angelis
fec0b2fcc6 fix: read temperature sensors darwin arm 2024-07-05 16:21:43 +02:00
dependabot[bot]
cf7ca77d49
chore(deps): bump golang.org/x/sys from 0.20.0 to 0.22.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.20.0 to 0.22.0.
- [Commits](https://github.com/golang/sys/compare/v0.20.0...v0.22.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>
2024-07-05 01:10:27 +00:00
coderZoe
91a267020c fix: docker_momory in centos_7.5 & docker_1.13.1 2024-07-03 16:12:19 +01:00
shirou
865b8c3f58
Merge pull request #1668 from uubulb/master
fix: package misnaming in `sensors_freebsd.go`
v4.24.6
2024-06-25 18:57:28 +09:00
UUBulb
4610b55878
fix: typo in sensors_freebsd package name 2024-06-24 23:15:33 +08:00
shirou
47f16043f1
Merge pull request #1663 from aidangill-projects/issue-1661
Resolved Issue 1661 - AIX Runtime Panic in Host
2024-06-14 22:19:10 +09:00
dependabot[bot]
d4e520aaac
chore(deps): bump actions/checkout from 4.1.5 to 4.1.7
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.5 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](44c2b7a8a4...692973e3d9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-13 01:27:46 +00:00
Aidan
dbab8d86e9 Additional error case found 2024-06-07 18:20:29 +12:00
Aidan
4ea639f0f8 Incorrect test comparisons 2024-06-07 17:33:35 +12:00
Aidan
b206a02af4 Added tests for uptimer parser 2024-06-07 15:12:47 +12:00
Aidan
b1ddeddda5 Removed repeated logic for days 2024-06-07 11:45:08 +12:00
shirou
bf0a7e9838
Merge pull request #1655 from govrin/patch-1
Fix boot time not returning stat file value
2024-06-06 22:22:00 +09:00
Niv Govrin
97351d2736 fix: remove tab in empty line 2024-06-06 09:36:24 +00:00
Niv Govrin
b6c524eda4
Merge branch 'shirou:master' into patch-1 2024-06-06 11:48:35 +03:00