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

2154 Commits

Author SHA1 Message Date
shirou
16b3aac6ad
Merge pull request #1336 from johanburati/job043
Add hostinfo Virtualization hyperv
v3.22.9
2022-09-30 17:33:58 +09:00
shirou
da529f3639
Merge pull request #1341 from chbuescher/master
implement aix nocgo disk usage
2022-09-30 17:13:54 +09:00
shirou
38732e038f
Merge pull request #1348 from shirou/dependabot/github_actions/actions/checkout-3
chore(deps): bump actions/checkout from 2 to 3
2022-09-30 17:12:09 +09:00
shirou
d36a053dc5
Merge pull request #1349 from shirou/dependabot/go_modules/github.com/google/go-cmp-0.5.9
chore(deps): bump github.com/google/go-cmp from 0.5.8 to 0.5.9
2022-09-30 17:11:49 +09:00
shirou
434cc29594
Merge pull request #1345 from itsties/patch-1
[disk][linux] Fix for diskusage Ceph mount
2022-09-09 16:09:44 +09:00
dependabot[bot]
3ebe2e0471
chore(deps): bump github.com/google/go-cmp from 0.5.8 to 0.5.9
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.8 to 0.5.9.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.8...v0.5.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-09 01:21:23 +00:00
dependabot[bot]
3ece2bff78
chore(deps): bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-09 01:13:29 +00:00
shirou
a63ec01c75
Merge pull request #1346 from tienthanh1993/master
fix(process,windows): compare len(cwd) to an incorrect value
2022-09-04 22:38:53 +09:00
Ties de Wit
f253d81d1b
Update common.go 2022-09-01 09:18:20 +02:00
Ties de Wit
e4409ef6a1
Update net_linux.go 2022-09-01 09:17:10 +02:00
Ties de Wit
705a63f1b2
Update disk_unix.go 2022-08-29 15:44:23 +02:00
tienthanh1993
6bc339626b
fix(process,windows): compare len(cwd) to an incorrect value
process/process_windows.go#L411 len(cwd) need compare to userProcParams.CurrentDirectoryPathNameLength instead of userProcParams.CurrentDirectoryPathAddress
2022-08-25 20:09:21 +07:00
Ties de Wit
43d805cf5d
Fix for diskusage Ceph mount
This sets `used` and `usedPercent` correctly in #1344
2022-08-25 09:55:04 +02:00
xca1075
9ef87ea3d8 aix disk: implement getFSType to get Usage() from disk_unix working; implement Partitions() 2022-08-12 14:59:18 +02:00
Johan Burati
e7034b47f2 Add hostinfo Virtualization hyperv 2022-08-02 16:23:43 +09:00
shirou
ed37dc27a2
Merge pull request #1335 from tklauser/drop-darwin-386
host, process: delete darwin/386 code
v3.22.8 v3.22.7
2022-07-30 11:24:12 +09:00
shirou
1499bf63a6 feat: drop darwin/i386 from README and Makefile 2022-07-30 02:11:39 +00:00
shirou
360136f405
Merge pull request #1333 from kyz/remove-iomainport
Replace IOMainPort/IOMasterPort() and kIOMainPortDefault/kIOMasterPortDefault with NULL
2022-07-30 11:05:55 +09:00
Stuart Caie
e0400cc94f Use 0 as default mach port 2022-07-30 00:44:15 +00:00
shirou
190dfee6b4
Merge pull request #1334 from kyz/fix-darwin-pagesize
mem.VirtualMemory(): wrong page size on darwin arm64
2022-07-29 20:58:03 +09:00
Tobias Klauser
c76712b8da
host, process: delete darwin/386 code
The darwin/386 port was dropped in Go 1.15 and the imported version of
golang.org/x/sys also no longer supports the port. This module requires
at least Go 1.15 per go.mod, so it no longer builds on darwin/386
anyway.
2022-07-28 13:01:59 +02:00
Stuart Caie
d962cf2d68 Use the page size that host_statistics() pages are measured in 2022-07-25 12:22:57 +00:00
Stuart Caie
55411f1178 Replace IOMainPort/IOMasterPort() and kIOMainPortDefault/kIOMasterPortDefault with NULL 2022-07-25 12:19:31 +00:00
shirou
a1701dcb73
Merge pull request #1330 from Lomanic/macos-ci-update
Update README with /v3 godoc links and remove deprecated macos-10.15 virtual environment in CI
2022-07-22 12:06:44 +09:00
Lomanic
ef5eaa83fe
Merge pull request #1328 from shirou/feature/check-file-contents
fix(host,linux): Check if path exists and is nonempty before reading host files
2022-07-20 00:57:01 +02:00
Lomanic
2553c620ed [ci] Remove deprecated macos-10.15 virtual environment in tests
Ref https://github.com/actions/virtual-environments/issues/5583
2022-07-20 00:44:15 +02:00
Lomanic
5439492ad9 [README] Update godoc links to /v3 and add godocs.io alternative 2022-07-20 00:44:10 +02:00
shirou
839e8b731f fix(common): simplify size check 2022-07-19 12:43:41 +00:00
shirou
422fdd4020
Merge pull request #1329 from shirou/feature/add_github_release_yaml
feat: add github release.yml
2022-07-18 12:07:11 +09:00
shirou
37a0bf3fa1 feat: add github release.yml 2022-07-18 03:05:36 +00:00
shirou
5610fbc5d5 fix(host,linux): Check if path exists and is nonempty before reading host files 2022-07-15 12:25:44 +00:00
shirou
8c479f5153
Merge pull request #1324 from yyt030/master
add neokylin host info on linux
2022-07-14 22:33:00 +09:00
shirou
96fd417faa
Merge pull request #1321 from shirou/dependabot/go_modules/github.com/stretchr/testify-1.8.0
Bump github.com/stretchr/testify from 1.7.5 to 1.8.0
2022-07-14 21:45:58 +09:00
shirou
57a8776eba
Merge pull request #1327 from shirou/feature/amazon-id-cleanup
fix(host,linux): when platform is detected to be 'amazon' cleanup os-release ID
2022-07-14 21:45:14 +09:00
shirou
aa3f5a5b86
Merge pull request #1326 from shirou/feature/fix-cmdline-cutset
fix(process,linux): remove trailing multiple \x00
2022-07-14 21:44:26 +09:00
shirou
80c890dc4c fix(host,linux): when platform is detected to be 'amazon' cleanup os-release ID 2022-07-12 09:53:22 +00:00
shirou
e2ae339eaf fix(process,linux): remove trailing multiple \x00 2022-07-12 09:49:23 +00:00
shirou
46f7642940
Merge pull request #1325 from shirou/feature/fix_cpu_total
fix(cpu): fix cpu total and busy calc
2022-07-11 20:52:44 +09:00
shirou
d1cc7d2125 fix(cpu): fix cpu total and busy calc 2022-07-09 02:13:44 +00:00
shirou
cb1120d239
Merge pull request #1322 from shirou/feature/net_fix_big_endian
fix(net,linux): fix decodeaddress if Big Endian
2022-07-09 10:49:16 +09:00
yueyt
15354cbdee add neokylin host info on linux 2022-07-05 17:19:18 +08:00
shirou
f11e3ba120 fix(net,linux): move IsLittleEndian to internal 2022-07-04 08:41:25 +00:00
shirou
e4e6ed2efa fix(net,linux): fix BigEndian test 2022-07-03 02:44:35 +00:00
shirou
8ae3affce0 fix(net,linux): fix decodeaddress if Big Endian 2022-07-02 13:39:32 +00:00
dependabot[bot]
acaa52b493
Bump github.com/stretchr/testify from 1.7.5 to 1.8.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.5 to 1.8.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.5...v1.8.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>
2022-06-30 01:18:18 +00:00
shirou
7a094df3f7
Merge pull request #1318 from shirou/feature/fix_release_action
fix(actions): add write permission to release action
v3.22.6
2022-06-25 10:49:12 +09:00
shirou
4f1f5b314d fix(actions): add write permission to release action 2022-06-25 01:41:25 +00:00
shirou
8cbdb096e7
Merge pull request #1317 from shirou/dependabot/go_modules/github.com/stretchr/testify-1.7.5
Bump github.com/stretchr/testify from 1.7.2 to 1.7.5
2022-06-25 10:03:10 +09:00
shirou
f34b623ad9
Merge pull request #1314 from chbuescher/master
implemented more AIX no-cgo functions
2022-06-25 10:02:53 +09:00
dependabot[bot]
cd5338f84b
Bump github.com/stretchr/testify from 1.7.2 to 1.7.5
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.7.2 to 1.7.5.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.7.2...v1.7.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-24 01:31:20 +00:00