Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CPU and Disk stats support to Illumos #378

Closed
wants to merge 19 commits into from
Closed

Add CPU and Disk stats support to Illumos #378

wants to merge 19 commits into from

Commits on Jul 28, 2017

  1. Save one stat(2) call per invocation of cpu.Times() on Illumos.

    Memoize the paths to psrinfo(1) and isainfo(1).
    sean- committed Jul 28, 2017
    Configuration menu
    Copy the full SHA
    f5c861d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a3b68bc View commit details
    Browse the repository at this point in the history
  3. Add support for obtaining disk utilization from Illumos.

    This requires an updated `golang.org/x/sys/unix` to pick up `unix.Statvfs()`
    for Illumos.
    sean- committed Jul 28, 2017
    Configuration menu
    Copy the full SHA
    0a40b2f View commit details
    Browse the repository at this point in the history
  4. Add support for various CPU stats available on Illumos.

    This implementation uses kstat(1) for the time being.
    sean- committed Jul 28, 2017
    Configuration menu
    Copy the full SHA
    3b4aa90 View commit details
    Browse the repository at this point in the history
  5. Factor out various process helper functions into their own package.

    This will go away in the future but for now centralize the functionality
    so it can be hunted down and removed when the time is right.
    sean- committed Jul 28, 2017
    Configuration menu
    Copy the full SHA
    133586d View commit details
    Browse the repository at this point in the history
  6. Spell json like json, not josn.

    sean- committed Jul 28, 2017
    Configuration menu
    Copy the full SHA
    18c44c6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    152fed7 View commit details
    Browse the repository at this point in the history
  8. Improve the VirtualMemory() support for Illumos.

    Add `VirtualMemoryZone()` and return `VirtualMemory()` in terms of
    the values found in `VirtualMemoryZone()` when the measurement is
    run inside of a zone.
    sean- committed Jul 28, 2017
    Configuration menu
    Copy the full SHA
    3c8c8c6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1c1f220 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    927eb80 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    107f369 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    443962f View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    ff74fb3 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    a3e736a View commit details
    Browse the repository at this point in the history
  15. Personal style nit

    sean- committed Jul 28, 2017
    Configuration menu
    Copy the full SHA
    09faa1f View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    7003bf5 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    4bafcb3 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    ed8ed47 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    f86cdcb View commit details
    Browse the repository at this point in the history