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

2519 Commits

Author SHA1 Message Date
shirou
3afb2ed778
Merge pull request #1643 from shirou/dependabot/github_actions/golangci/golangci-lint-action-6.0.1
chore(deps): bump golangci/golangci-lint-action from 6.0.0 to 6.0.1
2024-05-14 00:27:54 +09:00
shirou
5a0c0a9259
Merge pull request #1647 from zhanluxianshen/add-arm64-github-pr
add arm/arm64 category for github pr label.
2024-05-13 23:25:14 +09:00
shirou
193aafb173
Merge pull request #1646 from zhanluxianshen/clean-mktypes.sh
remove duplicate code in mktypes.sh
2024-05-13 23:24:51 +09:00
zhanluxianshen
11907e30b9
add arm/arm64 category for github pr label.
Signed-off-by: zhanluxianshen <irelandabby883@gmail.com>
2024-05-12 20:14:20 +08:00
zhanluxianshen
d1b806267e
remove duplicate code in mktypes.sh
Signed-off-by: zhanluxianshen <irelandabby883@gmail.com>
2024-05-12 20:11:07 +08:00
dependabot[bot]
6bf9a7434e
chore(deps): bump golangci/golangci-lint-action from 6.0.0 to 6.0.1
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](23faadfdeb...a4f60bb28d)

---
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>
2024-05-09 01:29:01 +00:00
shirou
4be51ffb01
Merge pull request #1641 from shirou/dependabot/github_actions/actions/checkout-4.1.5
chore(deps): bump actions/checkout from 4.1.4 to 4.1.5
2024-05-07 18:21:39 +09:00
dependabot[bot]
df4e90ef25
chore(deps): bump actions/checkout from 4.1.4 to 4.1.5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](0ad4b8fada...44c2b7a8a4)

---
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-05-07 08:26:08 +00:00
shirou
3c00a59089
Merge pull request #1642 from shirou/dependabot/github_actions/golangci/golangci-lint-action-6.0.0
chore(deps): bump golangci/golangci-lint-action from 5.3.0 to 6.0.0
2024-05-07 17:25:19 +09:00
dependabot[bot]
b8462ab3cd
chore(deps): bump golangci/golangci-lint-action from 5.3.0 to 6.0.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5.3.0 to 6.0.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](38e1018663...23faadfdeb)

---
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-05-07 01:51:21 +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