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

2610 Commits

Author SHA1 Message Date
shirou
930a873984 [mem][linux]: add ExLinux on mem package and move VirtualMemoryEx info on it 2024-05-28 22:27:17 +09:00
shirou
989328f334 add sensors package on labeler. 2024-05-28 22:27:17 +09:00
shirou
5dfaba1490 [sensors][linux]: add ExLinux on sensors.
This commit references and fixes #1589. Thank you!
2024-05-28 22:27:17 +09:00
shirou
5cd488ff30 [net][linux]: remove unused files. go1.11 is not supported now. 2024-05-28 22:27:17 +09:00
shirou
e9591b5b01 rename redundant test function names, such as TestCPU in cpu package 2024-05-28 22:27:17 +09:00
shirou
85f5f3a8e2 process.Uids and process.Gids are now return uint32 2024-05-28 22:27:17 +09:00
Sergey Chernomorets
aace5e9d8f Groups in /proc/PID/status has type uint32.
Fix error of parser:
> error get info about worker process status 3150292: strconv.ParseInt:
> parsing "4294967293": value out of range

$ grep Groups /proc/self/status
Groups: 20001 [...] 4294967293
2024-05-28 22:27:17 +09:00
shirou
f9c39a6d8f fix mktypes.sh 2024-05-28 22:27:17 +09:00
shirou
ab0d977709 [sensors] move Temperatures from host to sensors. 2024-05-28 22:27:17 +09:00
shirou
bc060cc227 add SPDX License, remove old build tag, and replace import 2024-05-28 22:27:17 +09:00
shirou
87b0257e5b bump go version to 1.20, and update go.mod 2024-05-28 22:25:17 +09:00
shirou
42e7556a11 remove unnecessary files and remove coverall 2024-05-28 22:24:36 +09:00
shirou
4336530318
Merge pull request #1649 from shirou/feat/add_process_cwd_openbsd
[process][openbsd]: add cwd on openbsd.
v3.24.5
2024-05-28 22:20:00 +09:00
shirou
cb52f7a661
Merge pull request #1651 from Dylan-M/aix_support
Improve AIX Support
2024-05-27 22:26:31 +09:00
Niv Govrin
aa0b73dc6d
fix: return boot time from stat file
add missing return statement for boot time value retrieved from stat file. Also move current time fetch to be closer to where the "time since boot file" is read
2024-05-26 11:48:29 +03:00
Dylan Myers
125da53703 Update the README charts with the AIX information 2024-05-22 08:53:41 -04:00
Dylan Myers
ff4ae36cc0 Remove extraneous development note comments
Move a function from nocgo to main file for disk package
2024-05-22 08:25:39 -04:00
Dylan Myers
df9c9bf340 Update min version in the readme to match new required min version. 2024-05-21 19:18:11 -04:00
Dylan Myers
1d7b4a315e Revert accidental change of go version in go.mod (wasn't supposed to commit).
Version set properly to 1.18, which is the new minimum needed for changes in this branch.
Run go mod tidy again with version set back to 1.18.
2024-05-18 08:29:54 -04:00
Dylan Myers
9bf502f825 Fix logic errors, syntax errors, and typos 2024-05-17 23:57:00 -04:00
Dylan Myers
b133d602ce Ignore host_aix_ppc64 for now 2024-05-17 23:56:29 -04:00
Dylan Myers
b4d95a4991 Raise minimum go version to 1.18 (required by changes) and run go mod tidy 2024-05-17 21:32:31 -04:00
Dylan Myers
0917790819 Remove inappropriate package addition 2024-05-17 21:31:34 -04:00
Dylan Myers
8df2696709 Account for other possible formats output by AIX uptime command 2024-05-17 20:41:16 -04:00
Dylan Myers
a0bbccacc6 Only handle virtual memory when specifically requested 2024-05-17 15:25:05 -04:00
Dylan Myers
3bf34ce7fb Add AIX disk serial numbers for nocgo 2024-05-17 14:39:44 -04:00
Dylan Myers
ea8f72ed4a Add Usage for AIX nocgo 2024-05-16 09:32:46 -04:00
Dylan Myers
9be5f7d0ad Remove extraneous -1 from users function for AIX 2024-05-15 22:51:58 -04:00
Dylan Myers
bd42769f87 Add a working implementation of host.Users() for AIX 2024-05-15 22:12:03 -04:00
Dylan Myers
d551997afb Fix typos and code misplacement in AIX CPU handling 2024-05-15 22:07:56 -04:00
Dylan Myers
52d61b8669 Add host support for AIX 2024-05-15 21:44:58 -04:00
Dylan Myers
5d3cf2e9e7 Update AIX percpu minimum needed lines 2024-05-15 13:55:37 -04:00
Dylan Myers
0a1f220077 Remove tests, since my Go knowledge isn't yet deep enough for them 2024-05-15 13:54:44 -04:00
Dylan Myers
843d93a589 Add AIX test data 2024-05-15 12:59:23 -04:00
Dylan Myers
d816d96508 Initial pass at AIX test integration 2024-05-15 12:57:58 -04:00
Dylan Myers
af3f4d204d Correct arguments for AIX percpu 2024-05-15 12:55:11 -04:00
Dylan Myers
8cc32696fe Add support for additional CPU info fields 2024-05-15 10:46:07 -04:00
Dylan Myers
6b630a841a Add support for per CPU 2024-05-15 09:49:08 -04:00
shirou
89124453c1
Merge pull request #1640 from MDrakos/fallback_ftxt
Add fallback for lsof output
2024-05-15 22:47:04 +09:00
shirou
57d4c8a90a [process][openbsd]: add cwd on openbsd. 2024-05-14 22:56:17 +09:00
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