Ties de Wit
e4409ef6a1
Update net_linux.go
3 years ago
Ties de Wit
705a63f1b2
Update disk_unix.go
3 years ago
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
3 years ago
Ties de Wit
43d805cf5d
Fix for diskusage Ceph mount
...
This sets `used` and `usedPercent` correctly in #1344
3 years ago
xca1075
9ef87ea3d8
aix disk: implement getFSType to get Usage() from disk_unix working; implement Partitions()
3 years ago
Johan Burati
e7034b47f2
Add hostinfo Virtualization hyperv
3 years ago
shirou
ed37dc27a2
Merge pull request #1335 from tklauser/drop-darwin-386
...
host, process: delete darwin/386 code
3 years ago
shirou
1499bf63a6
feat: drop darwin/i386 from README and Makefile
3 years ago
shirou
360136f405
Merge pull request #1333 from kyz/remove-iomainport
...
Replace IOMainPort/IOMasterPort() and kIOMainPortDefault/kIOMasterPortDefault with NULL
3 years ago
Stuart Caie
e0400cc94f
Use 0 as default mach port
3 years ago
shirou
190dfee6b4
Merge pull request #1334 from kyz/fix-darwin-pagesize
...
mem.VirtualMemory(): wrong page size on darwin arm64
3 years ago
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.
3 years ago
Stuart Caie
d962cf2d68
Use the page size that host_statistics() pages are measured in
3 years ago
Stuart Caie
55411f1178
Replace IOMainPort/IOMasterPort() and kIOMainPortDefault/kIOMasterPortDefault with NULL
3 years ago
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
3 years ago
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
3 years ago
Lomanic
2553c620ed
[ci] Remove deprecated macos-10.15 virtual environment in tests
...
Ref https://github.com/actions/virtual-environments/issues/5583
3 years ago
Lomanic
5439492ad9
[README] Update godoc links to /v3 and add godocs.io alternative
3 years ago
shirou
839e8b731f
fix(common): simplify size check
3 years ago
shirou
422fdd4020
Merge pull request #1329 from shirou/feature/add_github_release_yaml
...
feat: add github release.yml
3 years ago
shirou
37a0bf3fa1
feat: add github release.yml
3 years ago
shirou
5610fbc5d5
fix(host,linux): Check if path exists and is nonempty before reading host files
3 years ago
shirou
8c479f5153
Merge pull request #1324 from yyt030/master
...
add neokylin host info on linux
3 years ago
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
3 years ago
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
3 years ago
shirou
aa3f5a5b86
Merge pull request #1326 from shirou/feature/fix-cmdline-cutset
...
fix(process,linux): remove trailing multiple \x00
3 years ago
shirou
80c890dc4c
fix(host,linux): when platform is detected to be 'amazon' cleanup os-release ID
3 years ago
shirou
e2ae339eaf
fix(process,linux): remove trailing multiple \x00
3 years ago
shirou
46f7642940
Merge pull request #1325 from shirou/feature/fix_cpu_total
...
fix(cpu): fix cpu total and busy calc
3 years ago
shirou
d1cc7d2125
fix(cpu): fix cpu total and busy calc
3 years ago
shirou
cb1120d239
Merge pull request #1322 from shirou/feature/net_fix_big_endian
...
fix(net,linux): fix decodeaddress if Big Endian
3 years ago
yueyt
15354cbdee
add neokylin host info on linux
3 years ago
shirou
f11e3ba120
fix(net,linux): move IsLittleEndian to internal
3 years ago
shirou
e4e6ed2efa
fix(net,linux): fix BigEndian test
3 years ago
shirou
8ae3affce0
fix(net,linux): fix decodeaddress if Big Endian
3 years ago
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>
3 years ago
shirou
7a094df3f7
Merge pull request #1318 from shirou/feature/fix_release_action
...
fix(actions): add write permission to release action
3 years ago
shirou
4f1f5b314d
fix(actions): add write permission to release action
3 years ago
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
3 years ago
shirou
f34b623ad9
Merge pull request #1314 from chbuescher/master
...
implemented more AIX no-cgo functions
3 years ago
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>
3 years ago
xca1075
3d643b9b73
parse cpu values as float
3 years ago
xca1075
b3ab1561bc
more aix nocgo implementations
3 years ago
shirou
f9d3b96126
Merge pull request #1311 from shirou/dependabot/go_modules/github.com/stretchr/testify-1.7.2
...
Bump github.com/stretchr/testify from 1.7.1 to 1.7.2
3 years ago
dependabot[bot]
0f1e58450e
Bump github.com/stretchr/testify from 1.7.1 to 1.7.2
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.7.1 to 1.7.2.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.7.1...v1.7.2 )
---
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>
3 years ago
shirou
ff544cb3e7
Merge pull request #1310 from cipherboy/fix-int8-to-byte
...
Fix []int8 to []byte in disk/disk_openbsd.go due to x/sys/unix type change
3 years ago
shirou
acd1fc00f5
Merge pull request #1313 from shirou/feature/fix_virtual_memory_stat_string
...
[mem]: fix test
3 years ago
shirou
23f85def9b
[mem]: fix test
3 years ago
shirou
5722370c72
Merge pull request #1275 from quanweiZhou/add-meminfo-fields
...
[mem][linux] added additional meminfo fields
3 years ago
shirou
ce948d52cd
Merge pull request #1306 from shirou/feature/change_goversion_dynamic
...
feat(actions): go-version will be latest two version automatically on CI
3 years ago