The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.27 - 2020-04-02 (TRIAL RELEASE)

  • Bug Fixes
    • Numify parsed values from uptime.
  • Tests
    • Use locale-independent test that value is numeric.

Changes for version 0.26 - 2020-04-01 (TRIAL RELEASE)

  • Bug Fixes
    • Parse uptime output formatted with using different locales, thanks srezic.
  • Tests
    • Fix skip_all to handle when no executable is found.
    • Fix comment on skip_all.
  • Other
    • Add keywords to distribution metadata.

Changes for version 0.25 - 2020-03-30 (TRIAL RELEASE)

  • Tests
    • Check if uptime is executable.
    • Fix comment on t/13-w.t.

Changes for version 0.24 - 2020-03-30 (TRIAL RELEASE)

  • Enhancements
    • Use IPC::Run3 for uptime.
    • Add the ability to override the path of uptime.
  • Bug Fixes
    • Check for uptime errors.
  • Other
    • Move Perl::Critic exceptions into t/etc/perlcriticrc.

Changes for version 0.23 - 2020-03-29 (TRIAL RELEASE)

  • Enhancements
    • Support getloadavg for DragonFly BSD.
    • Change uptime to use backticks instead of piped open.
  • Bug Fixes
    • uptime immediately returns undef if path to `uptime` cannot be found.
  • Tests
    • Fixed test when skipping getloadavg test.
    • Skip uptime test if uptime cannot be found.

Changes for version 0.22 - 2020-03-27 (TRIAL RELEASE)

  • Enhancements
    • Split getloadavg, proc_loadavg and uptime into separate functions.
    • Use File::Which to locate uptime.
  • Incompatabilities
    • Renamed _getbsdload to getloadavg.
  • Bug Fixes
    • Accept uptime output without commas, RT#14034.
  • Tests
    • Fix bug testing high loads.
    • Add tests for each function.

Modules

retrieve system load averages