shirou
dbc1fd4429
fix lint
1 year ago
shirou
3a586b3515
[mem][windows]: add ExWindows and implement VirualTotal/Avail
...
This commit fixes #1588 . Thank you!
1 year ago
shirou
0b76d5442f
[mem][linux]: add ExLinux on mem package and move VirtualMemoryEx info on it
1 year ago
shirou
4366e26d6b
add sensors package on labeler.
1 year ago
shirou
4cbddac512
[sensors][linux]: add ExLinux on sensors.
...
This commit references and fixes #1589 . Thank you!
1 year ago
shirou
d235f41bdc
[net][linux]: remove unused files. go1.11 is not supported now.
1 year ago
shirou
72d79c4b2f
rename redundant test function names, such as TestCPU in cpu package
1 year ago
shirou
31f0445195
process.Uids and process.Gids are now return uint32
1 year ago
Sergey Chernomorets
81911e7a89
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
1 year ago
shirou
965815aaaf
fix mktypes.sh
1 year ago
shirou
25bd9ca88b
[sensors] move Temperatures from host to sensors.
1 year ago
shirou
e3e69fdc1f
add SPDX License, remove old build tag, and replace import
1 year ago
shirou
902c4ccbb9
bump go version to 1.20, and update go.mod
1 year ago
shirou
ae7befc421
remove unnecessary files and remove coverall
1 year ago
shirou
5b2dd59fb9
Merge pull request #1603 from shirou/feat/host_linux_fix_arm64_utmp_size
...
[host][linux]: fix utmp size on linux/arm64
1 year ago
shirou
cbefbb023e
[host][linux]: add pading on linux_arm64
1 year ago
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.
1 year ago
shirou
d86a995563
[host][linux]: fix utmp size on linux/arm64
1 year ago
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
1 year ago
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>
1 year ago
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
1 year ago
shirou
53fb8caad4
[darwin][ci]: skip frequency check on GitHub Action
1 year ago
shirou
25c3f409bd
[ci]: add macos-13 and macos-14 on GitHub Action
1 year ago
shirou
146bae2a47
Merge pull request #1597 from vlnaum/cwd_windows
...
cwd for windows is supported
1 year ago
vlnaum
d3057c252f
cwd support windows doc
1 year ago
shirou
8aeaf163ab
Merge pull request #1594 from jmatthew/openbsd-riscv64
...
add support for OpenBSD/riscv64
1 year ago
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
1 year ago
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>
1 year ago
Jonathan Matthew
6ccc60519e
update list OpenBSD arch list
1 year ago
Jonathan Matthew
27ffa28a0d
add support for OpenBSD/riscv64
1 year ago
shirou
6ef32c35a0
Merge pull request #1590 from shirou/dependabot/go_modules/github.com/yusufpapurcu/wmi-1.2.4
...
chore(deps): bump github.com/yusufpapurcu/wmi from 1.2.3 to 1.2.4
1 year ago
dependabot[bot]
44981c6f45
chore(deps): bump github.com/yusufpapurcu/wmi from 1.2.3 to 1.2.4
...
Bumps [github.com/yusufpapurcu/wmi](https://github.com/yusufpapurcu/wmi ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/yusufpapurcu/wmi/releases )
- [Commits](https://github.com/yusufpapurcu/wmi/compare/v1.2.3...v1.2.4 )
---
updated-dependencies:
- dependency-name: github.com/yusufpapurcu/wmi
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
shirou
c0546fb392
Merge pull request #1592 from shirou/dependabot/go_modules/golang.org/x/sys-0.17.0
...
chore(deps): bump golang.org/x/sys from 0.16.0 to 0.17.0
1 year ago
dependabot[bot]
4e79582e33
chore(deps): bump golang.org/x/sys from 0.16.0 to 0.17.0
...
Bumps [golang.org/x/sys](https://github.com/golang/sys ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/sys/compare/v0.16.0...v0.17.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>
1 year ago
shirou
802108d8a5
Merge pull request #1591 from shirou/dependabot/github_actions/actions/upload-artifact-4.3.1
...
chore(deps): bump actions/upload-artifact from 4.3.0 to 4.3.1
1 year ago
dependabot[bot]
1a8f96c633
chore(deps): bump actions/upload-artifact from 4.3.0 to 4.3.1
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](26f96dfa69...5d5d22a312
)
---
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>
1 year ago
shirou
65b5fa32b9
Merge pull request #1587 from shirou/dependabot/github_actions/actions/upload-artifact-4.3.0
...
chore(deps): bump actions/upload-artifact from 4.2.0 to 4.3.0
1 year ago
dependabot[bot]
22413975af
chore(deps): bump actions/upload-artifact from 4.2.0 to 4.3.0
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](694cdabd8b...26f96dfa69
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
shirou
9de1a429b9
Merge pull request #1585 from DataDog/bryce.kahle/os-release-version-id
...
use VERSION_ID from os-release
1 year ago
shirou
9b6f82813a
Merge pull request #1584 from DataDog/bryce.kahle/host-platform
...
ensure host platform are files and have contents
1 year ago
shirou
dc01f63e85
Merge pull request #1583 from shirou/dependabot/github_actions/actions/cache-4.0.0
...
chore(deps): bump actions/cache from 3.3.3 to 4.0.0
1 year ago
shirou
e912ebde7a
Merge pull request #1580 from jnewmano/patch-1
...
Windows, read all PIDs if there are more than 1024 PIDs.
1 year ago
shirou
b86b36a290
Merge pull request #1586 from shirou/dependabot/github_actions/actions/upload-artifact-4.2.0
...
chore(deps): bump actions/upload-artifact from 4.1.0 to 4.2.0
1 year ago
dependabot[bot]
61758d5e3c
chore(deps): bump actions/upload-artifact from 4.1.0 to 4.2.0
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](1eb3cb2b3e...694cdabd8b
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Bryce Kahle
d753f78612
use VERSION_ID from os-release
...
`VERSION_ID` is more appropriate for scripts and other usages, since `VERSION` can contain spaces and codenames
from `os-release` manpage:
```
VERSION=
A string identifying the operating system version, excluding
any OS name information, possibly including a release code
name, and suitable for presentation to the user. This field
is optional.
Examples: "VERSION=17", "VERSION="17 (Beefy Miracle)"".
VERSION_ID=
A lower-case string (mostly numeric, no spaces or other
characters outside of 0–9, a–z, ".", "_" and "-") identifying
the operating system version, excluding any OS name
information or release code name, and suitable for processing
by scripts or usage in generated filenames. This field is
optional.
Examples: "VERSION_ID=17", "VERSION_ID=11.04".
```
1 year ago
Bryce Kahle
b0d976c49b
ensure host platform are files and have contents
...
In a containerized deployment, it is common to mount several files from /etc. Within the container, those files will be created regardless if they exist on the host or not. In those instances, the existing code would erroneously return empty platform information.
1 year ago
dependabot[bot]
f28a23e3b3
chore(deps): bump actions/cache from 3.3.3 to 4.0.0
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.3.3 to 4.0.0.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](e12d46a63a...13aacd865c
)
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
shirou
83c941c791
Merge pull request #1582 from shirou/dependabot/github_actions/actions/upload-artifact-4.1.0
...
chore(deps): bump actions/upload-artifact from 4.0.0 to 4.1.0
1 year ago
dependabot[bot]
73f479fdcd
chore(deps): bump actions/upload-artifact from 4.0.0 to 4.1.0
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](c7d193f32e...1eb3cb2b3e
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
shirou
442e0ad6f9
Merge pull request #1575 from shirou/feat/fix_disk_unix_uint64cast
...
[linux][disk]: fix Rdev cast
1 year ago