1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-05-10 19:29:14 +08:00

2510 Commits

Author SHA1 Message Date
dependabot[bot]
19291ee571
chore(deps): bump github.com/tklauser/go-sysconf from 0.3.12 to 0.3.14
Bumps [github.com/tklauser/go-sysconf](https://github.com/tklauser/go-sysconf) from 0.3.12 to 0.3.14.
- [Release notes](https://github.com/tklauser/go-sysconf/releases)
- [Commits](https://github.com/tklauser/go-sysconf/compare/v0.3.12...v0.3.14)

---
updated-dependencies:
- dependency-name: github.com/tklauser/go-sysconf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 06:43:23 +00:00
shirou
01cec99125
Merge pull request #1638 from shirou/dependabot/go_modules/golang.org/x/sys-0.20.0
chore(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0
2024-05-06 15:41:48 +09:00
shirou
43e0ad7e73
Merge pull request #1639 from shirou/dependabot/github_actions/golangci/golangci-lint-action-5.3.0
chore(deps): bump golangci/golangci-lint-action from 5.1.0 to 5.3.0
2024-05-06 15:24:16 +09:00
dependabot[bot]
cb839332a5
chore(deps): bump golangci/golangci-lint-action from 5.1.0 to 5.3.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5.1.0 to 5.3.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](9d1e0624a7...38e1018663)

---
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-05-06 01:37:55 +00:00
dependabot[bot]
56ff96d480
chore(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/sys/compare/v0.19.0...v0.20.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-05-06 01:26:05 +00:00
shirou
df39550a6b
Merge pull request #1637 from shirou/dependabot/github_actions/actions/setup-go-5.0.1
chore(deps): bump actions/setup-go from 5.0.0 to 5.0.1
2024-05-03 11:02:33 +09:00
dependabot[bot]
7e40e28bc6
chore(deps): bump actions/setup-go from 5.0.0 to 5.0.1
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](0c52d547c9...cdcb360436)

---
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-05-03 01:13:08 +00:00
shirou
428fe9b14b
Merge pull request #1635 from shirou/dependabot/github_actions/golangci/golangci-lint-action-5.1.0
chore(deps): bump golangci/golangci-lint-action from 5.0.0 to 5.1.0
v3.24.4
2024-04-30 11:32:09 +09:00
dependabot[bot]
8d67022393
chore(deps): bump golangci/golangci-lint-action from 5.0.0 to 5.1.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](82d40c283a...9d1e0624a7)

---
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-04-30 01:52:09 +00:00
shirou
979696a7a0
Merge pull request #1631 from shirou/dependabot/github_actions/actions/checkout-4.1.4
chore(deps): bump actions/checkout from 4.1.2 to 4.1.4
2024-04-25 20:32:18 +09:00
shirou
54d464d390
Merge pull request #1632 from shirou/dependabot/github_actions/golangci/golangci-lint-action-5.0.0
chore(deps): bump golangci/golangci-lint-action from 4.0.0 to 5.0.0
2024-04-25 20:31:53 +09:00
dependabot[bot]
65426fea16
chore(deps): bump golangci/golangci-lint-action from 4.0.0 to 5.0.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 4.0.0 to 5.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](3cfe3a4abb...82d40c283a)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-25 01:51:00 +00:00
dependabot[bot]
97f2608994
chore(deps): bump actions/checkout from 4.1.2 to 4.1.4
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](9bb56186c3...0ad4b8fada)

---
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-04-25 01:50:57 +00:00
shirou
8803861346
Merge pull request #1630 from shirou/dependabot/github_actions/actions/upload-artifact-4.3.3
chore(deps): bump actions/upload-artifact from 4.3.1 to 4.3.3
2024-04-23 12:26:11 +09:00
dependabot[bot]
4848eec0f2
chore(deps): bump actions/upload-artifact from 4.3.1 to 4.3.3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.1 to 4.3.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](5d5d22a312...65462800fd)

---
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-04-23 01:31:38 +00:00
shirou
df3a945879
Merge pull request #1624 from camcui/master
chore: fix some typos in comments
2024-04-13 16:02:25 +09:00
camcui
3ec3f55280 chore: fix some typos in comments
Signed-off-by: camcui <cuishua@sina.cn>
2024-04-12 15:00:55 +08:00
shirou
80895ea9e1
Merge pull request #1621 from amarinderca/patch-1
Update net_openbsd.go to correctly parse netstat output on obsd
2024-04-09 22:44:24 +09:00
Amarinder Cheema
6311a849df
Update net_openbsd.go to correctly parse netstat output on obsd. See #1441 2024-04-05 23:10:16 -07:00
shirou
0dd1ffdb6a
Merge pull request #1620 from shirou/dependabot/go_modules/golang.org/x/sys-0.19.0
chore(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0
2024-04-05 15:55:09 +09:00
dependabot[bot]
dbf53d040b
chore(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/sys/compare/v0.18.0...v0.19.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-04-05 01:04:24 +00:00
shirou
e230f528f0
Merge pull request #1612 from eric1234/correct-process-counts
Total Processes in `MiscStat` Corrected
v3.24.3
2024-03-23 23:51:06 +09:00
shirou
ce0395f8af
Merge pull request #1609 from shirou/feat/process_freebsd_arm64_type_generated
[process][freebsd]: re-generate types on freebsd arm64
2024-03-23 21:27:52 +09:00
shirou
1d9f956bef
Merge pull request #1615 from majorteach/master
chore: fix typo
2024-03-23 21:27:30 +09:00
majorteach
71b81735f9 chore: fix typo
Signed-off-by: majorteach <csgcgl@126.com>
2024-03-23 17:25:51 +08:00
Eric Anderson
cded1805c1 Total Processes in MiscStat Corrected
The `ProcsTotal` in the `MiscStat` structure was very inaccurate. It was reading
a value which is the total number of kernel scheduling entities. This includes
both processes and threads significantly overcounting.

This instead uses an existing method already in common to count the number of
processes via the /proc filesystem where any directory is a number. This should
still be a single syscall to read that directory entry.

This fixes #1606.
2024-03-20 21:42:44 -04:00
shirou
6100124c96
Merge pull request #1611 from shirou/dependabot/github_actions/actions/cache-4.0.2
chore(deps): bump actions/cache from 4.0.1 to 4.0.2
2024-03-20 11:28:10 +09:00
dependabot[bot]
83660dac66
chore(deps): bump actions/cache from 4.0.1 to 4.0.2
Bumps [actions/cache](https://github.com/actions/cache) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](ab5e6d0c87...0c45773b62)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-20 01:46:52 +00:00
shirou
1e5c5ae75b
Merge pull request #1604 from shirou/dependabot/go_modules/github.com/stretchr/testify-1.9.0
chore(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0
2024-03-13 12:15:28 +09:00
dependabot[bot]
6df531fc9b
chore(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-13 01:54:52 +00:00
shirou
c731c53c08
Merge pull request #1605 from shirou/dependabot/go_modules/golang.org/x/sys-0.18.0
chore(deps): bump golang.org/x/sys from 0.17.0 to 0.18.0
2024-03-13 10:48:34 +09:00
shirou
a6193ba8d7
Merge pull request #1610 from shirou/dependabot/github_actions/actions/checkout-4.1.2
chore(deps): bump actions/checkout from 4.1.1 to 4.1.2
2024-03-13 10:48:22 +09:00
dependabot[bot]
f23341d6ed
chore(deps): bump actions/checkout from 4.1.1 to 4.1.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](b4ffde65f4...9bb56186c3)

---
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-03-13 01:32:06 +00:00
shirou
94b8051c1a [process][freebsd]: re-generate types on freebsd arm64 2024-03-12 23:52:30 +09:00
dependabot[bot]
711bcdd11a
chore(deps): bump golang.org/x/sys from 0.17.0 to 0.18.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/sys/compare/v0.17.0...v0.18.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-03-05 01:03:39 +00:00
shirou
5b2dd59fb9
Merge pull request #1603 from shirou/feat/host_linux_fix_arm64_utmp_size
[host][linux]: fix utmp size on linux/arm64
2024-03-05 00:57:39 +09:00
shirou
cbefbb023e [host][linux]: add pading on linux_arm64 2024-03-04 22:25:21 +09:00
shirou
cfb7a5dc2e [host][linux]: change Line/User/Host to int8 on utmp
Generated code is uint8 on arm64. However, it is not same as other archtectures.
This commit changes by hand.
2024-03-02 13:22:22 +09:00
shirou
d86a995563 [host][linux]: fix utmp size on linux/arm64 2024-03-02 11:07:47 +09:00
shirou
a3ed85190d
Merge pull request #1601 from shirou/dependabot/github_actions/actions/cache-4.0.1
chore(deps): bump actions/cache from 4.0.0 to 4.0.1
2024-03-01 11:04:13 +09:00
dependabot[bot]
83db43b2e5
chore(deps): bump actions/cache from 4.0.0 to 4.0.1
Bumps [actions/cache](https://github.com/actions/cache) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](13aacd865c...ab5e6d0c87)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 01:23:42 +00:00
shirou
e767a0f0f8
Merge pull request #1599 from shirou/feat/add_macos_on_github_action_test
[ci]: add macos-13 and macos-14 on GitHub Action
v3.24.2
2024-02-24 10:35:20 +09:00
shirou
53fb8caad4 [darwin][ci]: skip frequency check on GitHub Action 2024-02-24 01:25:24 +00:00
shirou
25c3f409bd [ci]: add macos-13 and macos-14 on GitHub Action 2024-02-21 10:06:30 +00:00
shirou
146bae2a47
Merge pull request #1597 from vlnaum/cwd_windows
cwd for windows is supported
2024-02-21 19:03:38 +09:00
vlnaum
d3057c252f cwd support windows doc 2024-02-19 16:23:27 +00:00
shirou
8aeaf163ab
Merge pull request #1594 from jmatthew/openbsd-riscv64
add support for OpenBSD/riscv64
2024-02-13 17:48:27 +09:00
shirou
cbbb2402fe
Merge pull request #1595 from shirou/dependabot/github_actions/golangci/golangci-lint-action-4.0.0
chore(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0
2024-02-12 10:59:12 +09:00
dependabot[bot]
d0037dd62b
chore(deps): bump golangci/golangci-lint-action from 3.7.0 to 4.0.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.7.0 to 4.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](3a91952989...3cfe3a4abb)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-12 01:54:44 +00:00
Jonathan Matthew
6ccc60519e update list OpenBSD arch list 2024-02-11 16:21:34 +10:00