Commit Graph

2513 Commits (9f480f137dbe4eb875a70444b68e37e6cc3a3815)
 

Author SHA1 Message Date
shirou 9f480f137d
Merge pull request #1629 from shirou/feat/v4.24.0-beta
[v4] Implements v4 for v4.24.0-beta
10 months ago
shirou b165251052 [process]: Introduce DiskReadBytes on process which shows Disk IO only. 10 months ago
shirou.wakayama 2003e4c54f [host][windows]: change platform version from build version to display version 11 months ago
shirou 68ea86334a
Merge pull request #1596 from shirou/feat/v4.24.0-alpha
[v4] Implements v4 for v4.24.0-alpha
11 months ago
shirou c5368336c0 fix lint 11 months ago
shirou 139aca4e0f [mem][windows]: add ExWindows and implement VirualTotal/Avail
This commit fixes #1588. Thank you!
11 months ago
shirou bedf6ab0f5 [mem][linux]: add ExLinux on mem package and move VirtualMemoryEx info on it 11 months ago
shirou ba2ec811b3 add sensors package on labeler. 11 months ago
shirou b9583fc85f [sensors][linux]: add ExLinux on sensors.
This commit references and fixes #1589. Thank you!
11 months ago
shirou 10d5c0177b [net][linux]: remove unused files. go1.11 is not supported now. 11 months ago
shirou bffc4357e8 rename redundant test function names, such as TestCPU in cpu package 11 months ago
shirou 930242e7eb process.Uids and process.Gids are now return uint32 11 months ago
Sergey Chernomorets b40026eaad 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
11 months ago
shirou 723f4b928a fix mktypes.sh 11 months ago
shirou 6e19712486 [sensors] move Temperatures from host to sensors. 11 months ago
shirou 6df9bf1af4 add SPDX License, remove old build tag, and replace import 11 months ago
shirou 2bbcfbde4a bump go version to 1.20, and update go.mod 11 months ago
shirou 0851da3cc7 remove unnecessary files and remove coverall 11 months ago
shirou df3a945879
Merge pull request #1624 from camcui/master
chore: fix some typos in comments
11 months ago
camcui 3ec3f55280 chore: fix some typos in comments
Signed-off-by: camcui <cuishua@sina.cn>
11 months ago
shirou 80895ea9e1
Merge pull request #1621 from amarinderca/patch-1
Update net_openbsd.go to correctly parse netstat output on obsd
11 months ago
Amarinder Cheema 6311a849df
Update net_openbsd.go to correctly parse netstat output on obsd. See #1441 11 months ago
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
11 months ago
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>
11 months ago
shirou e230f528f0
Merge pull request #1612 from eric1234/correct-process-counts
Total Processes in `MiscStat` Corrected
12 months ago
shirou ce0395f8af
Merge pull request #1609 from shirou/feat/process_freebsd_arm64_type_generated
[process][freebsd]: re-generate types on freebsd arm64
12 months ago
shirou 1d9f956bef
Merge pull request #1615 from majorteach/master
chore: fix typo
12 months ago
majorteach 71b81735f9 chore: fix typo
Signed-off-by: majorteach <csgcgl@126.com>
12 months ago
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.
12 months ago
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
12 months ago
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>
12 months ago
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
1 year ago
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>
1 year ago
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
1 year ago
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
1 year ago
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>
1 year ago
shirou 94b8051c1a [process][freebsd]: re-generate types on freebsd arm64 1 year ago
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>
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