1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181
|
Revision history for Perl extension Sys-CpuLoad:
0.32 2025-03-29 12:02:43+00:00 Europe/London
[Documentation]
- Added a security policy.
- Updated copyright year.
[Other]
- Signed the release.
0.31 2020-07-31 14:23:19+01:00 Europe/London
[Documentation]
- Added missing line to Changes for v0.30.
[Toolchain]
- Add core modules in the prerequisites.
0.30 2020-04-06 08:14:52+01:00 Europe/London
- No changes since v0.29.
0.29 2020-04-04 11:13:49+01:00 Europe/London (TRIAL RELEASE)
[Enhancements]
- Added support for changing the default load() function.
[Documentation]
- Added contributors names in Changes for earlier versions.
[Tests]
- Test for warnings.
- Use Test::More and Test::Deep instead of Test::Most,
due to global destruction warnings in latest Test::Most.
[Other]
- Rearrange POD to be interleaved with source code.
0.28 2020-04-02 17:35:22+01:00 Europe/London (TRIAL RELEASE)
[Bug Fixes]
- Fix how parsed values from uptime are numified for different locales.
0.27 2020-04-02 12:37:28+01:00 Europe/London (TRIAL RELEASE)
[Bug Fixes]
- Numify parsed values from uptime.
[Tests]
- Use locale-independent test that value is numeric.
0.26 2020-04-01 21:22:26+01:00 Europe/London (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.
0.25 2020-03-30 23:30:00+01:00 Europe/London (TRIAL RELEASE)
[Tests]
- Check if uptime is executable.
- Fix comment on t/13-w.t.
0.24 2020-03-30 12:25:45+01:00 Europe/London (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.
0.23 2020-03-29 13:09:50+01:00 Europe/London (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.
0.22 2020-03-27 12:51:39+00:00 Europe/London (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.
0.21 2020-03-25 13:03:11+00:00 Europe/London
[Bug Fixes]
- Actually use system getloadavg for NetBSD and Solaris.
0.20 2020-03-25 12:35:33+00:00 Europe/London
[Enhancements]
- Add support for NetBSD #2 and Solaris.
- Return a single undef when the load function fails.
[Bug Fixes]
- The return value of getloadavg is now checked, #4.
- The load method is set up in a BEGIN block instead of import, #5.
[Documentation]
- Update POD about changes in version 0.12.
0.12 2020-03-24 23:22:57+00:00 Europe/London
[Enhancements]
- Use getloadavg system call in Linux.
- Port changes for Cygwin from Sys::CpuLoadX.
[Tests]
- Show diagnostics.
0.11 2020-03-24 22:57:02+00:00 Europe/London
[Enhancements]
- Added support for OS/X, thanks to Vincent Lefèvre, RT#14034/GH#3.
0.10 2020-03-24 22:41:56+00:00 Europe/London
- Maintenance taken over by Robert Rothenberg.
[Enhancements]
- Modernised code style.
- The load average method is determined during module import.
- Use XSLoader instead of DynaLoader.
[Bug Fixes]
- Fixed VERSION.
- Removed unnecessary use of AutoLoader.
[Incompatabilities]
- Minimum version is v5.6.
- Renamed `getbsdload` to `_getbsdload`.
[Documentation]
- Reformatted Changes to conform to CPAN::Changes::Spec.
[Tests]
- Modernised the test, and added a test of the load function.
[Other]
- Reorganised files for modern CPAN distributions.
- Distribution is minted with Dist::Zilla.
0.03 Mon Mar 18 15:02:33 PST 2002
- LC_NUMERIC patch from Victor Wagner
- Added cache support to remember how we got the system load
- Restricted getloadavg() to FreeBSD/OpenBSD for now
0.02 Sun Feb 17 23:43:26 PST 2002
- bsd getloadavg() support with help from Dmitry Dorofeev
0.01 Wed Aug 11 15:44:55 PDT 1999
- original version; created by h2xs 1.16
|