Commit Graph

2441 Commits (83c941c791e7f294752b0cc98ba3059f63dd4f05)
 

Author SHA1 Message Date
Justin Yang 826037fe4b Fix build_test on amd64 NetBSD
Justin Yang 7ffb24dbe3
Merge branch 'shirou:master' into feature/netbsd-arm64-port
Justin Yang def3572629 format the code
Justin Yang 4a46201e00 cpu && host: fix compile time errors
Justin Yang 734a7a6e55 disk: we should use frsize as the real block size
Justin Yang dd0253b0ec disk: fix various bugs
shirou 2fabf15a16
Merge pull request #1527 from tossp/add-load-for-windows
[load][windows] Fix DATA RACE in load. Avg()
TossPig 03d43fb5a2
[load][windows] Fix DATA RACE in load. Avg()
fixed #1526
Matthieu MOREL c806740b34
ci(lint): ensure io/ioutil replacement (#1525)
* ci(lint): enure ioutil replacement

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>

* Update host_solaris.go
* Update process_linux_test.go
* Update net_linux_test.go
* Update net_linux_test.go
* Update process_test.go
* Update process_linux_test.go
* Update process_linux_test.go

---------

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Justin Yang 319f5ea6e5 disk: small improvement, but still doesn't work
shirou 0e9f13304d
Merge pull request #1524 from shirou/feature/replace_ioutil
chore: replace deprecated ioutil package to os and io
Justin Yang 1136aa25da disk: code can be compiled now, but test still failed though
Justin Yang ec817bfa68 disk: code cleanup (not finish yet)
Justin Yang caafa49ed1 disk: code cleanup
Justin Yang 6100e33de2 mem: code cleanup
Justin Yang e82d2e4ca8 host: enable uptime for NetBSD
Justin Yang b6a10e04e7 disk: Implement Usage for NetBSD
Justin Yang 7df86f0f6a Add disk partitions support for NetBSD
Lomanic 60484418d3
Merge pull request #1521 from shirou/dependabot/github_actions/actions/checkout-4.0.0
chore(deps): bump actions/checkout from 3.6.0 to 4.0.0
shirou 0665cafa1b chore: replace deprecated ioutil package to os and io
shirou cdd7dae8c7
Merge pull request #1523 from shirou/dependabot/github_actions/actions/cache-3.3.2
chore(deps): bump actions/cache from 3.3.1 to 3.3.2
dependabot[bot] 1d4b8c3989
chore(deps): bump actions/cache from 3.3.1 to 3.3.2
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.1 to 3.3.2.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](88522ab9f3...704facf57e)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
shirou de26169f19
Merge pull request #1522 from shirou/dependabot/github_actions/actions/upload-artifact-3.1.3
chore(deps): bump actions/upload-artifact from 3.1.2 to 3.1.3
dependabot[bot] 2d2033ed7d
chore(deps): bump actions/upload-artifact from 3.1.2 to 3.1.3
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](0b7f8abb15...a8a3f3ad30)

---
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>
dependabot[bot] eadf3f7a33
chore(deps): bump actions/checkout from 3.6.0 to 4.0.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](f43a0e5ff2...3df4ab11eb)

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

Signed-off-by: dependabot[bot] <support@github.com>
shirou d80af8bf10
Merge pull request #1519 from kevinconaway/kevinconaway/mem-anonhugepages
Add support for reading AnonHugePages from /proc/meminfo
shirou 680de57df2
Merge pull request #1520 from shirou/dependabot/go_modules/golang.org/x/sys-0.12.0
chore(deps): bump golang.org/x/sys from 0.11.0 to 0.12.0
dependabot[bot] 85d37b91b3
chore(deps): bump golang.org/x/sys from 0.11.0 to 0.12.0
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.11.0 to 0.12.0.
- [Commits](https://github.com/golang/sys/compare/v0.11.0...v0.12.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>
Justin Yang 302751d509 disk: start porting to NetBSD, far from complete
Justin Yang 6a4ec32f3b cpu: remove wrong info copied from openbsd
Justin Yang 4e662561c2 mem: Add support for NetBSD
Kevin Conaway 7f4efa5358 Add support for reading AnonHugePages from /proc/meminfo
This commit adds support for reading the `AnonHugePages` field from `/proc/meminfo`.

The values in this field allow monitoring the [THP](https://www.kernel.org/doc/Documentation/vm/transhuge.txt) usage by systems that use this type of memory
shirou faad806080
Merge pull request #1518 from shirou/feature/remove_circleci
chore: change CIRCLECI environment variable to CI.
shirou febdeab871 chore: change CIRCLECI environment variable to CI.
shirou a09263d9e8
Merge pull request #1514 from atoulme/faster_file_read
Fix Processes() calls with many cores
Antoine Toulme 54c31d884d
Revert "test results"
This reverts commit ae119d36b8.
Antoine Toulme ae119d36b8 test results
Antoine Toulme 6fff1c0e99
proper benchmark
Justin Yang 2684012ab2 Initial support for NetBSD.
Currently the changes are all copied from shirou/gopsutil#1364
shirou 89575bdf5a
Merge pull request #1513 from shirou/dependabot/github_actions/actions/checkout-3.6.0
chore(deps): bump actions/checkout from 3.5.3 to 3.6.0
Antoine Toulme 4ed0f1436a
return err if not EOF
Antoine Toulme ca71a6db3c
lint
Antoine Toulme a48fd71137
Revert "send results"
This reverts commit a7a94986fb.
Antoine Toulme a7a94986fb send results
Antoine Toulme 4bc9e37b0f
faster file read
dependabot[bot] 47860a93c2
chore(deps): bump actions/checkout from 3.5.3 to 3.6.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.3 to 3.6.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](c85c95e3d7...f43a0e5ff2)

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

Signed-off-by: dependabot[bot] <support@github.com>
shirou 6084c1e2a4
Merge pull request #1508 from gdvalle/gtd.disk.serial-num-fix
fix IOCounters() SerialNumber enumeration
Greg Dallavalle 0a23dc690f comment cleanup
shirou 8bcde848c1
Merge pull request #1504 from shirou/feature/host_remove_double_quote_on_lsb
[host][linux]: remove double quote from lsb release info
Greg Dallavalle b2d1f05f08 update comment