sys-proctable 1.1.0-universal-mingw32 → 1.1.1-universal-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3695bf6276ed13235155f0eac6fae7cdb2a0beff
4
- data.tar.gz: bc7f3b1a31091d5012571971c7487028cc34fefa
3
+ metadata.gz: 065761016e849b8719d1925708585cd08cca6ab3
4
+ data.tar.gz: b01c2fc59524ea8d9411b57624adc5e86edd6984
5
5
  SHA512:
6
- metadata.gz: 7ac6b882498f823b010f836273676488367367f742262e292caac33463e25e69957d421926e65ef1f00c1413774ae5c18ce51b2c84e5e8bde9f3bdfd9bceec61
7
- data.tar.gz: e0beb0808620c408a1270e592f3870993eb22f98df737d1f8d209b0381efb06f457b1926ad5e995459a4a1255ba15228f5317d565bf80363245c2b930f1d9d47
6
+ metadata.gz: 69e078d36f33c2544be37a12929482c0b7c360a116f62a712bf0314866f87844cd62e9ee73fbce57496de9f72b035120402217d67bcedae4c57692c08c09973a
7
+ data.tar.gz: 95d06678b3ce3af9795aef39e4be7615441eea0e5e7c09f43fec851000ccc711618ba59e4698a5399fdd6fbe3f3fe1ef816bfe177e28fae51c8980d833a2b252
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
@@ -1,2 +1,3 @@
1
- {��!b��TPC>#vJ�'��{ҁ��q�����+�yO^���& VE�x�q�[�S(�^Rg���GTb�Te�0���( 8���40F>��ͣ��?+&ATm����\0�,�����䚬�Ұʾ)U�!YR
2
- أ ����:gg�|U�n^��޺;�zz��Ku[�XS�T,&'�~�����
1
+ 1\�_����;����k
2
+ P�o[���7L�)�Q��AQ�g�_ȿw��B�\4�n�t�g�U��3b|TA���\��~Y��4;]��!Ef�OI匵�
3
+ o�p�hß."�t#?f��2j�g>�ϼ��?�ج)����1�b������U��Q.��
data/CHANGES CHANGED
@@ -1,367 +1,371 @@
1
- == 1.1.0 - 27-Jun-2016
2
- * License was changed to Apache 2.0.
3
- * The OS X version now requires OS X 10.7 or later.
4
- * Scrapped the C implementation for OS X, and replaced it with a libproc wrapper
5
- using FFI, so it is now pure Ruby. Note that some new struct members have been
6
- added, while others have been dropped. This includes pctcpu, so Sys::Top does
7
- not work at the moment.
8
- * Rakefile updates to accomodate the changes for OS X.
9
- * Some test suite updates and refactoring.
10
-
11
- == 1.0.0 - 11-Jan-2016
12
- * Added smaps information for Linux. Thanks go to Joe Rafaniello for the patch.
13
- * This really should not have been a major release, sorry.
14
-
15
- == 0.9.9 - 8-Nov-2015
16
- * Added support for cgroups on Linux. Thanks go to Dennis Günnewig for the patch.
17
- * Added a sys-proctable.rb file for convenience.
18
- * This gem is now signed.
19
- * Gem related tasks in the Rakefile now assume Rubygems 2.x.
20
-
21
- == 0.9.8 - 18-Apr-2015
22
- * Fixed a bug in the gemspec. Last version got yanked.
23
-
24
- == 0.9.7 - 18-Apr-2015
25
- * Fixed a bug in the OSX code that could cause the ps method to fail. Thanks
26
- go to Koshevoy Anton for the spot.
27
- * Some internal refactoring of version handling. Now all platforms use a
28
- single version file.
29
- * Replaced vm_size_t and lwpid_t with universal data types on FreeBSD because
30
- FFI on FreeBSD 10 no longer understands them. Thanks go to Mike Owens for
31
- the spot.
32
-
33
- == 0.9.6 - 24-Feb-2015
34
- * Added NLWP field on Linux. Thanks go to Rich Chatterton for the patch.
35
-
36
- == 0.9.5 - 10-Feb-2015
37
- * Significant cleanup and memory reduction of the OSX code. Thanks go
38
- to Ivan (toy) for the patches.
39
- * Skip over /proc/<file>/status if unreadable on Linux. Thanks go to Jianjun
40
- Mao for the patch.
41
-
42
- == 0.9.4 - 4-Mar-2014
43
- * Added support for AIX 5.3 or later courtesy of Rick Ohnemus.
44
- * The Solaris version now uses FFI structs instead of a packed array.
45
- It solved issues with 64-bit versions of Ruby and it's self-documenting.
46
- * The FreeBSD version has been converted to use FFI. In addition, additional
47
- struct members have been added, and members that previously returned nil
48
- now return meaningful data.
49
- * Support for NetBSD and OpenBSD has been temporarily dropped. Considering
50
- that the C code did not build on those platforms anyway, I doubt most of
51
- you will notice. Patches for those platforms are welcome, but only using FFI.
52
-
53
- == 0.9.3 - 17-Mar-2013
54
- * Fixed a bug on OSX where a long command string arg could cause
55
- a segfault. Thanks go to Nathaniel Bibler for the spot.
56
- * Changed the gem platform from mingw to mingw32 for Windows.
57
-
58
- == 0.9.2 - 8-Oct-2012
59
- * Added cmdline support for OS X. Thanks go to Matthias Zirnstein for
60
- the patch.
61
- * Warning cleanup for 1.9.
62
- * Updated the gem platform handling. Replaced the borked string approach
63
- with a two element array for Gem::Platform.new.
64
- * MS date strings are now parse with DateTime instead of Date.
65
-
66
- == 0.9.1 - 3-Aug-2011
67
- * Added the pctcpu and pctmem members for Linux.
68
- * Added Errno::ESRCH to a rescue clause on Linux that fixed a bug
69
- where a missing entry wasn't being skipped when run as root. Thanks
70
- go to Austin Ziegler for the spot and patch.
71
- * Fixed a build warning for Darwin.
72
- * Updates to the test suite for both Darwin and Linux.
73
- * Added an explicit type check for BSD for pids.
74
- * Added nicer error messages for BSD if kvm_open fails.
75
- * Added .core files to the clean task.
76
- * Altered the platform settings in the Rakefile so that generated gems
77
- use 'universal' platform architectures for any particular operating system.
78
-
79
- == 0.9.0 - 14-Oct-2009
80
- * Changed the license to Artistic 2.0.
81
- * Fixed a bug in the OS X code where a segfault would occur when an attempt
82
- was made to gather resource usage information on zombie processes. From
83
- now on that information is always set to nil for zombie processes. Thanks
84
- go to Tom Lianza for the spot and Philip Kromer for investigating the
85
- root cause of the failure.
86
- * Removed the FreeBSD code that read out of /proc. It was a pain from a
87
- maintenance point of view, and most FreeBSD installs do not mount /proc
88
- by default. The FreeBSD platform now uses the same code that the other
89
- BSD platforms use.
90
- * Fixed a bug in the BSD code where the ProcTable::Error class had the
91
- wrong parent class.
92
- * Some major gemspec updates, including an updated license. The platform
93
- handling logic is now in the Rakefile in the 'gem' task.
94
- * Updated the README file to include an additional acknowledgement, a
95
- license change and some minor formatting changes.
96
- * The test-unit library was changed from a runtime to a development dependency.
97
-
98
- == 0.8.1 - 6-Apr-2009
99
- * The Linux and Solaris libraries now handle the possibility of a process
100
- terminating in the middle of a read more gracefully. If that happens, they
101
- merely skip to the next record, i.e. it's all or nothing. Thanks go to
102
- Heejong Lee for the spot and patch.
103
- * Fixed a bug in the Linux version where embedded nulls were not being
104
- stripped out of the cmdline data.
105
- * Added the comm alias back to the Solaris version. Thanks go to Jun Young Kim
106
- for the spot.
107
-
108
- == 0.8.0 - 26-Jan-2009
109
- * The Linux and Solaris versions of this library are now pure Ruby. Be warned,
110
- however, that only Solaris 8 and later are now supported. This may change
111
- in a future release if there's demand to support 2.6 and 2.7.
112
- * Some Struct::ProcTableStruct members have changed. As a general rule they
113
- now more closely match the C struct member name. See individual platforms
114
- for more details.
115
- * Bug fix for the cmd_args struct member on Solaris.
116
- * Bug fixes for OS X. Added a VERSION constant, fixed struct name, and changed
117
- pct_cpu to pctcpu.
118
- * The .new method is now explicitly illegal.
119
- * The Struct::ProcTableStruct instances are now frozen. This is read-only data.
120
- * Added the peak_page_file_usage and status members on MS Windows. The status
121
- member is always nil, but was added for completeness.
122
- * Fixed the quota_peak_paged_pool_usage member on MS Windows.
123
- * ProcTableError is now ProcTable::Error.
124
- * Minor test case fix for kvm/bsd based versions.
125
- * Added the 'time' library as a require for Windows (to parse MS date/time
126
- format strings).
127
- * The kvm (bsd.c) implementation now works for FreeBSD 7.
128
- * Added many more tests.
129
- * Added some benchmarking code in the 'benchmarks' directory.
130
- * Added a 'bench' Rake task.
131
- * Renamed the test_ps.rb file to example_ps.rb in order to avoid any possible
132
- confusion with actual test files.
133
- * Added an 'example' rake task to run the example file.
134
-
135
- == 0.7.6 - 11-Jul-2007
136
- * Fixed the starttime for Linux. Thanks go to Yaroslav Dmitriev for the spot.
137
- * Fixed a bug in the MS Windows version within a private method that parsed
138
- an MS specific date format. This was caused by a backwards incompatible
139
- change in the Time.parse method in Ruby 1.8.6. See ruby-core: 11245 ff.
140
- * Fixed the gemspec (I hope). Please let me know if you have problems.
141
- * Added a Rakefile. Building, testing and installing should now be handled via
142
- Rake tasks. The install.rb file has been removed - that code is now
143
- integrated in the Rakefile.
144
- * Minor directory layout changes and cleanup (mostly for the extconf.rb file).
145
- * Side note - it seems that the code for OS X *does* work, at least on 10.4.10.
146
- I can only conclude that previous reports about it failing were related to
147
- bugs in OS X or were really just build issues. Apologies (and thanks, again)
148
- to David Felstead for the code. However, see the README for more information
149
- specific to OS X, as there are shortcomings.
150
-
151
- == 0.7.5 - 23-Nov-2006
152
- * Fixed int/long issues for Linux. Thanks go to Matt Lightner for the spot.
153
- * Minor documentation fixes and changes to the extconf.rb file.
154
-
155
- == 0.7.4 - 20-Nov-2006
156
- * Added a patch that deals with the large file compilation issue on Solaris.
157
- You no longer need to build Ruby with --disable-largefile, or build a
158
- 64 bit Ruby, in order for this package to work. Thanks go to Steven Jenkins
159
- for the information that led to the patch.
160
- * Added inline rdoc to the source code.
161
- * Added a gemspec.
162
- * Fixed some potential 64 bit issues (struct declarations).
163
- * Added preliminary support for Darwin (OS X). The code was provided by
164
- David Felstead, but does not appear to compile successfully. Help wanted.
165
-
166
- == 0.7.3 - 27-Oct-2005
167
- * Fix for 1.8.3 and later (rb_pid_t). This should have only affected
168
- Solaris.
169
-
170
- == 0.7.2 - 15-May-2005
171
- * Bug fix for the FreeBSD version that reads from /proc.
172
- * Eliminated the test bug on Linux (inexplicably caused by File.copy). The
173
- test suite should now run without segfaulting.
174
- * Include bsd.c in tarball (oops).
175
- * Minor test updates for FreeBSD.
176
- * The 'pct_cpu' member for the BSD/kvm version has been changed to 'pctcpu'
177
- for consistency with other platforms.
178
-
179
- == 0.7.1 - 8-May-2005
180
- * Bug fixed for the cmdline info on Linux. Thanks go to Arash Abedinzadeh
181
- for the spot.
182
- * Added an example program.
183
- * Minor setup fix for Win32 in tc_all.rb.
184
-
185
- == 0.7.0 - 25-Apr-2005
186
- * Scrapped the C implementation for Windows in favor of an OLE + WMI pure Ruby
187
- approach. See documentation for details.
188
- * Added an optional lkvm implementation for BSD users. This is automatically
189
- used if the /proc filesystem isn't found.
190
- * Added prusage info for the Solaris version.
191
- * Added name, eid, euid, gid and guid information for Linux. Thanks go to
192
- James Hranicky for the patch.
193
- * Fixed some potential bugs in the Linux version. Thanks go to James
194
- Hranicky for the spot.
195
- * Added the 'sys/top' package.
196
- * ProcTable.fields no longer supports a block form.
197
- * The BTIME (boot time) information has been removed from the Linux version.
198
- If you want that information, use sys-uptime instead.
199
- * The .html and .rd files have been removed. You can generate html on your
200
- own with rdoc if you like.
201
- * Some code cleanup on the C side of the house.
202
- * Most documents made rdoc friendly.
203
- * Renamed 'install_pure_ruby.rb' to just 'install.rb'.
204
- * Removed the 'INSTALL' file. Installation instructions are in the README.
205
- * Some test suite cleanup and reorganization.
206
- * Moved project to RubyForge.
207
-
208
- == 0.6.4 - 31-Mar-2004
209
- * Fixed a bug in the pure Ruby version for Win32. Thanks go to Mark Hudson
210
- for the spot.
211
- * Fixed a bug in the C implementation for Win32 where the cmdline and path
212
- values were sometimes wrong for running processes. Thanks go to Park Heesob
213
- for the fix.
214
- * Updated the VERSION constant and removed the VERSION class method in the
215
- pure Ruby version for Win32.
216
- * Updated install_pure_ruby.rb and test.rb scripts.
217
- * Updated warranty information.
218
- * The extconf.rb script has been revamped. See the INSTALL and README files
219
- for important changes since the last release.
220
- * The start ProcInfo struct member on Solaris, HP-UX and FreeBSD is now a
221
- Time object, not a Fixnum/Bignum.
222
- * Modified linux.c yet again to make gcc happy when it comes to multi-line
223
- string literals.
224
- * Minor change to way process state is handled on HP-UX.
225
- * Documentation additions and updates, including warranty information.
226
-
227
- == 0.6.3 - 24-Feb-2004
228
- * Fixed a bug in the Solaris version where the cmd_args array did not
229
- necessarily contain data on 2.7 and later. The current patch still
230
- does not quite fix the problem for 2.6 and earlier but can be easily
231
- derived manually by parsing the cmdline string.
232
-
233
- == 0.6.2 - 20-Jan-2004
234
- * Fixed a small memory leak in the solaris version.
235
-
236
- == 0.6.1 - 31-Dec-2003
237
- * Fixed a minor bug in the cmdline field on Linux where a blank character
238
- was being appended to the end of the field.
239
- * Fixed a minor annoyance where the windows.rb file was being copied into
240
- the Ruby lib directory on install.
241
- * Added a test_memleak.rb file. Currently only supported on Linux and
242
- only does a file descriptor count check. I plan to expand this to
243
- other platforms in the future.
244
- * Minor test suite changes
245
- * MANIFEST correction and update.
246
-
247
- == 0.6.0 - 22-Oct-2003
248
- * Significant API change (and thus, a version jump) - only a
249
- single argument is now accepted to the ps() method, and only a PID
250
- (Fixnum) is regarded as a valid argument.
251
- * Calling ps() with a pid returns a single ProcTable struct (or nil
252
- if the pid is not found), instead of a one element array.
253
- * Argument to ps() now works properly on HP-UX and Win32.
254
- * Removed the '#include <sys/types32.h>' in sunos.h. It wasn't needed
255
- and you're not supposed to include it directly.
256
- * Fixed 2.6 compatibility issue with regards to cmdline on Solaris.
257
- * Removed the ProcStatException completely on Linux. There was no reason
258
- to fail on a directory read for /proc/xxx/stat. If the read fails
259
- (meaning the process died in the middle of collecting info for it), it
260
- is simply ignored.
261
- * The ttynum bug on HPUX has been fixed. In addition, the return value for
262
- this field is now a string rather than an int and the field name has
263
- been changed to "ttydev".
264
- * The ttynum field has been changed to ttydev on Solaris and HPUX. On
265
- Solaris, the ttydev is now reported as -1 if there is no associated tty.
266
- In a future release, Solaris and the other *nix platforms will be changed
267
- so that ttydev is always a device name (i.e String).
268
- * Added plain text documentation for all platforms.
269
- * Some test suite cleanup.
270
- * Changed .rd2 extension to just '.rd'.
271
-
272
- == 0.5.2 - 18-Jul-2003
273
- * Modified cmdline to extend past the traditional 80 character limit on
274
- Solaris, where possible (Solaris 2.6+ only).
275
- * Added the cmdline_args and num_args fields on Solaris, which returns
276
- an array of cmdline arguments and the number of cmdline arguments,
277
- respectively.
278
- * Minor modification to fields() method, in addition to warning cleanup
279
- for Solaris.
280
- * Changed "defunct" state string to "zombie" for Solaris.
281
- * Should cleanly compile with -Wall -W now (gcc) on Solaris.
282
- * Added solaris.txt to doc directory.
283
- * MANIFEST corrections.
284
-
285
- == 0.5.1 - 16-Jul-2003
286
- * Fixed a nasty file descriptor bug in the Linux code, where file descriptors
287
- were continuously being used up.
288
- * Added the BTIME (boot time) constant for Linux.
289
- * Fixed up the test/test.rb file a bit.
290
- * Added BTIME tests to tc_linux.rb.
291
-
292
- == 0.5.0 - 11-Jul-200
293
- * Added HP-UX support!
294
- * Note that passing PID's or strings as arguments to ps() is not supported
295
- in the HP-UX version. This functionality will be stripped out of the
296
- other versions in a future release. See the README file for more details.
297
- * Removed the VERSION() class method. Use the constant instead.
298
- * Separated the rd docs from their respective source files. Now in the doc
299
- directory.
300
- * Got rid of the interactive html generation in extconf.rb.
301
- * Changed License to Artistic.
302
-
303
- == 0.4.3 - 30-May-2003
304
- * Added a version.h file to store the version number. Modified all of the
305
- C source files to use that instead of hard coding the version everywhere.
306
- * Added a generic test.rb script for those without TestUnit installed, or
307
- just futzing in general. Modified the extconf.rb script to copy this
308
- instead of writing an inline HERE document.
309
- * Modified extconf.rb so that it builds with mingw or cygwin. Thanks go to
310
- Peter Fischer for the spot and patch.
311
- * Modified test suite to work with TestUnit 0.1.6 or 0.1.8.
312
-
313
- == 0.4.2 - 14-Apr-2003
314
- * Added pure Ruby version for Win32 - thanks Park Heesob.
315
- * Modified extconf.rb file to handle pure Ruby versions.
316
- * Added install_pure_ruby.rb file, an alternate installation
317
- script for pure Ruby versions.
318
-
319
- == 0.4.1 - 31-Mar-2003
320
- * Added support for Solaris 2.5.x.
321
- * All exceptions are now a direct subclass of StandardError.
322
- * Value returned for wchan now more meaningful (2.5.x only for now).
323
- * Fixed the start, utime and ctime for FreeBSD.
324
- * Minor fix to FreeBSD test suite.
325
- * Some changes to extconf.rb.
326
- * Minor doc changes.
327
- * Added License and Copyright info.
328
-
329
- == 0.4.0 - 10-Mar-2003
330
- * Added MS Windows support (non-cygwin).
331
- * Added environment information for Linux version.
332
- * Added real exceptions (type depends on platform).
333
- * Added a test suite (for those with testunit installed).
334
- * Removed the sys-uname requirement.
335
- * Heavily modified the extconf.rb script.
336
- * Changed "Changelog" to "CHANGES" and "Manifest" to "MANIFEST".
337
- * Added a VERSION constant and class method.
338
- * Minor internal directory layout change (put 'os' under 'lib').
339
- * Changed package name to lower case.
340
- * Doc changes, including license information.
341
-
342
- == 0.3.1 - 16-Aug-2002
343
- * Added a "comm" field to the sunos version. I am going to try to make this a
344
- common field for all platforms to help reduce RUBY_PLATFORM checking.
345
- * Fixed the release date for 0.3.0 (was accidentally marked *July*).
346
- * Added an INSTALL file.
347
- * Minor documentation change to the sunos.c source file.
348
-
349
- == 0.3.0 - 11-Aug-2002
350
- * Added FreeBSD support!
351
- * Struct name changed to just "ProcTableStruct" to be compliant with future
352
- versions of Ruby.
353
- * The ps() function now returns an array of ProcTableStruct's in lvalue context.
354
- * Fixed the ability to search by process name in Linux.
355
- * Modified Linux "comm" field to strip parenthesis.
356
- * Some doc changes/additions.
357
- * Added Sean Chittenden to the "Acknowledgements" section. Sean provided me
358
- with access to a FreeBSD box, which is how I was able to provide FreeBSD
359
- support. Thanks Sean!
360
-
361
- == 0.2.0 - 19-Jul-2002
362
- * Added the ability to search by process name.
363
- * test.rb modified to be cross-platform.
364
- * Solaris - fixed bug with fname (was accidentally called "name").
365
-
366
- == 0.1.0 - 2-Jul-2002
367
- - Initial release.
1
+ == 1.1.1 - 30-Jun-2016
2
+ * Added thread information for OS X.
3
+ * Fixed VERSION constant for HP-UX.
4
+
5
+ == 1.1.0 - 27-Jun-2016
6
+ * License was changed to Apache 2.0.
7
+ * The OS X version now requires OS X 10.7 or later.
8
+ * Scrapped the C implementation for OS X, and replaced it with a libproc wrapper
9
+ using FFI, so it is now pure Ruby. Note that some new struct members have been
10
+ added, while others have been dropped. This includes pctcpu, so Sys::Top does
11
+ not work at the moment.
12
+ * Rakefile updates to accomodate the changes for OS X.
13
+ * Some test suite updates and refactoring.
14
+
15
+ == 1.0.0 - 11-Jan-2016
16
+ * Added smaps information for Linux. Thanks go to Joe Rafaniello for the patch.
17
+ * This really should not have been a major release, sorry.
18
+
19
+ == 0.9.9 - 8-Nov-2015
20
+ * Added support for cgroups on Linux. Thanks go to Dennis Günnewig for the patch.
21
+ * Added a sys-proctable.rb file for convenience.
22
+ * This gem is now signed.
23
+ * Gem related tasks in the Rakefile now assume Rubygems 2.x.
24
+
25
+ == 0.9.8 - 18-Apr-2015
26
+ * Fixed a bug in the gemspec. Last version got yanked.
27
+
28
+ == 0.9.7 - 18-Apr-2015
29
+ * Fixed a bug in the OSX code that could cause the ps method to fail. Thanks
30
+ go to Koshevoy Anton for the spot.
31
+ * Some internal refactoring of version handling. Now all platforms use a
32
+ single version file.
33
+ * Replaced vm_size_t and lwpid_t with universal data types on FreeBSD because
34
+ FFI on FreeBSD 10 no longer understands them. Thanks go to Mike Owens for
35
+ the spot.
36
+
37
+ == 0.9.6 - 24-Feb-2015
38
+ * Added NLWP field on Linux. Thanks go to Rich Chatterton for the patch.
39
+
40
+ == 0.9.5 - 10-Feb-2015
41
+ * Significant cleanup and memory reduction of the OSX code. Thanks go
42
+ to Ivan (toy) for the patches.
43
+ * Skip over /proc/<file>/status if unreadable on Linux. Thanks go to Jianjun
44
+ Mao for the patch.
45
+
46
+ == 0.9.4 - 4-Mar-2014
47
+ * Added support for AIX 5.3 or later courtesy of Rick Ohnemus.
48
+ * The Solaris version now uses FFI structs instead of a packed array.
49
+ It solved issues with 64-bit versions of Ruby and it's self-documenting.
50
+ * The FreeBSD version has been converted to use FFI. In addition, additional
51
+ struct members have been added, and members that previously returned nil
52
+ now return meaningful data.
53
+ * Support for NetBSD and OpenBSD has been temporarily dropped. Considering
54
+ that the C code did not build on those platforms anyway, I doubt most of
55
+ you will notice. Patches for those platforms are welcome, but only using FFI.
56
+
57
+ == 0.9.3 - 17-Mar-2013
58
+ * Fixed a bug on OSX where a long command string arg could cause
59
+ a segfault. Thanks go to Nathaniel Bibler for the spot.
60
+ * Changed the gem platform from mingw to mingw32 for Windows.
61
+
62
+ == 0.9.2 - 8-Oct-2012
63
+ * Added cmdline support for OS X. Thanks go to Matthias Zirnstein for
64
+ the patch.
65
+ * Warning cleanup for 1.9.
66
+ * Updated the gem platform handling. Replaced the borked string approach
67
+ with a two element array for Gem::Platform.new.
68
+ * MS date strings are now parse with DateTime instead of Date.
69
+
70
+ == 0.9.1 - 3-Aug-2011
71
+ * Added the pctcpu and pctmem members for Linux.
72
+ * Added Errno::ESRCH to a rescue clause on Linux that fixed a bug
73
+ where a missing entry wasn't being skipped when run as root. Thanks
74
+ go to Austin Ziegler for the spot and patch.
75
+ * Fixed a build warning for Darwin.
76
+ * Updates to the test suite for both Darwin and Linux.
77
+ * Added an explicit type check for BSD for pids.
78
+ * Added nicer error messages for BSD if kvm_open fails.
79
+ * Added .core files to the clean task.
80
+ * Altered the platform settings in the Rakefile so that generated gems
81
+ use 'universal' platform architectures for any particular operating system.
82
+
83
+ == 0.9.0 - 14-Oct-2009
84
+ * Changed the license to Artistic 2.0.
85
+ * Fixed a bug in the OS X code where a segfault would occur when an attempt
86
+ was made to gather resource usage information on zombie processes. From
87
+ now on that information is always set to nil for zombie processes. Thanks
88
+ go to Tom Lianza for the spot and Philip Kromer for investigating the
89
+ root cause of the failure.
90
+ * Removed the FreeBSD code that read out of /proc. It was a pain from a
91
+ maintenance point of view, and most FreeBSD installs do not mount /proc
92
+ by default. The FreeBSD platform now uses the same code that the other
93
+ BSD platforms use.
94
+ * Fixed a bug in the BSD code where the ProcTable::Error class had the
95
+ wrong parent class.
96
+ * Some major gemspec updates, including an updated license. The platform
97
+ handling logic is now in the Rakefile in the 'gem' task.
98
+ * Updated the README file to include an additional acknowledgement, a
99
+ license change and some minor formatting changes.
100
+ * The test-unit library was changed from a runtime to a development dependency.
101
+
102
+ == 0.8.1 - 6-Apr-2009
103
+ * The Linux and Solaris libraries now handle the possibility of a process
104
+ terminating in the middle of a read more gracefully. If that happens, they
105
+ merely skip to the next record, i.e. it's all or nothing. Thanks go to
106
+ Heejong Lee for the spot and patch.
107
+ * Fixed a bug in the Linux version where embedded nulls were not being
108
+ stripped out of the cmdline data.
109
+ * Added the comm alias back to the Solaris version. Thanks go to Jun Young Kim
110
+ for the spot.
111
+
112
+ == 0.8.0 - 26-Jan-2009
113
+ * The Linux and Solaris versions of this library are now pure Ruby. Be warned,
114
+ however, that only Solaris 8 and later are now supported. This may change
115
+ in a future release if there's demand to support 2.6 and 2.7.
116
+ * Some Struct::ProcTableStruct members have changed. As a general rule they
117
+ now more closely match the C struct member name. See individual platforms
118
+ for more details.
119
+ * Bug fix for the cmd_args struct member on Solaris.
120
+ * Bug fixes for OS X. Added a VERSION constant, fixed struct name, and changed
121
+ pct_cpu to pctcpu.
122
+ * The .new method is now explicitly illegal.
123
+ * The Struct::ProcTableStruct instances are now frozen. This is read-only data.
124
+ * Added the peak_page_file_usage and status members on MS Windows. The status
125
+ member is always nil, but was added for completeness.
126
+ * Fixed the quota_peak_paged_pool_usage member on MS Windows.
127
+ * ProcTableError is now ProcTable::Error.
128
+ * Minor test case fix for kvm/bsd based versions.
129
+ * Added the 'time' library as a require for Windows (to parse MS date/time
130
+ format strings).
131
+ * The kvm (bsd.c) implementation now works for FreeBSD 7.
132
+ * Added many more tests.
133
+ * Added some benchmarking code in the 'benchmarks' directory.
134
+ * Added a 'bench' Rake task.
135
+ * Renamed the test_ps.rb file to example_ps.rb in order to avoid any possible
136
+ confusion with actual test files.
137
+ * Added an 'example' rake task to run the example file.
138
+
139
+ == 0.7.6 - 11-Jul-2007
140
+ * Fixed the starttime for Linux. Thanks go to Yaroslav Dmitriev for the spot.
141
+ * Fixed a bug in the MS Windows version within a private method that parsed
142
+ an MS specific date format. This was caused by a backwards incompatible
143
+ change in the Time.parse method in Ruby 1.8.6. See ruby-core: 11245 ff.
144
+ * Fixed the gemspec (I hope). Please let me know if you have problems.
145
+ * Added a Rakefile. Building, testing and installing should now be handled via
146
+ Rake tasks. The install.rb file has been removed - that code is now
147
+ integrated in the Rakefile.
148
+ * Minor directory layout changes and cleanup (mostly for the extconf.rb file).
149
+ * Side note - it seems that the code for OS X *does* work, at least on 10.4.10.
150
+ I can only conclude that previous reports about it failing were related to
151
+ bugs in OS X or were really just build issues. Apologies (and thanks, again)
152
+ to David Felstead for the code. However, see the README for more information
153
+ specific to OS X, as there are shortcomings.
154
+
155
+ == 0.7.5 - 23-Nov-2006
156
+ * Fixed int/long issues for Linux. Thanks go to Matt Lightner for the spot.
157
+ * Minor documentation fixes and changes to the extconf.rb file.
158
+
159
+ == 0.7.4 - 20-Nov-2006
160
+ * Added a patch that deals with the large file compilation issue on Solaris.
161
+ You no longer need to build Ruby with --disable-largefile, or build a
162
+ 64 bit Ruby, in order for this package to work. Thanks go to Steven Jenkins
163
+ for the information that led to the patch.
164
+ * Added inline rdoc to the source code.
165
+ * Added a gemspec.
166
+ * Fixed some potential 64 bit issues (struct declarations).
167
+ * Added preliminary support for Darwin (OS X). The code was provided by
168
+ David Felstead, but does not appear to compile successfully. Help wanted.
169
+
170
+ == 0.7.3 - 27-Oct-2005
171
+ * Fix for 1.8.3 and later (rb_pid_t). This should have only affected
172
+ Solaris.
173
+
174
+ == 0.7.2 - 15-May-2005
175
+ * Bug fix for the FreeBSD version that reads from /proc.
176
+ * Eliminated the test bug on Linux (inexplicably caused by File.copy). The
177
+ test suite should now run without segfaulting.
178
+ * Include bsd.c in tarball (oops).
179
+ * Minor test updates for FreeBSD.
180
+ * The 'pct_cpu' member for the BSD/kvm version has been changed to 'pctcpu'
181
+ for consistency with other platforms.
182
+
183
+ == 0.7.1 - 8-May-2005
184
+ * Bug fixed for the cmdline info on Linux. Thanks go to Arash Abedinzadeh
185
+ for the spot.
186
+ * Added an example program.
187
+ * Minor setup fix for Win32 in tc_all.rb.
188
+
189
+ == 0.7.0 - 25-Apr-2005
190
+ * Scrapped the C implementation for Windows in favor of an OLE + WMI pure Ruby
191
+ approach. See documentation for details.
192
+ * Added an optional lkvm implementation for BSD users. This is automatically
193
+ used if the /proc filesystem isn't found.
194
+ * Added prusage info for the Solaris version.
195
+ * Added name, eid, euid, gid and guid information for Linux. Thanks go to
196
+ James Hranicky for the patch.
197
+ * Fixed some potential bugs in the Linux version. Thanks go to James
198
+ Hranicky for the spot.
199
+ * Added the 'sys/top' package.
200
+ * ProcTable.fields no longer supports a block form.
201
+ * The BTIME (boot time) information has been removed from the Linux version.
202
+ If you want that information, use sys-uptime instead.
203
+ * The .html and .rd files have been removed. You can generate html on your
204
+ own with rdoc if you like.
205
+ * Some code cleanup on the C side of the house.
206
+ * Most documents made rdoc friendly.
207
+ * Renamed 'install_pure_ruby.rb' to just 'install.rb'.
208
+ * Removed the 'INSTALL' file. Installation instructions are in the README.
209
+ * Some test suite cleanup and reorganization.
210
+ * Moved project to RubyForge.
211
+
212
+ == 0.6.4 - 31-Mar-2004
213
+ * Fixed a bug in the pure Ruby version for Win32. Thanks go to Mark Hudson
214
+ for the spot.
215
+ * Fixed a bug in the C implementation for Win32 where the cmdline and path
216
+ values were sometimes wrong for running processes. Thanks go to Park Heesob
217
+ for the fix.
218
+ * Updated the VERSION constant and removed the VERSION class method in the
219
+ pure Ruby version for Win32.
220
+ * Updated install_pure_ruby.rb and test.rb scripts.
221
+ * Updated warranty information.
222
+ * The extconf.rb script has been revamped. See the INSTALL and README files
223
+ for important changes since the last release.
224
+ * The start ProcInfo struct member on Solaris, HP-UX and FreeBSD is now a
225
+ Time object, not a Fixnum/Bignum.
226
+ * Modified linux.c yet again to make gcc happy when it comes to multi-line
227
+ string literals.
228
+ * Minor change to way process state is handled on HP-UX.
229
+ * Documentation additions and updates, including warranty information.
230
+
231
+ == 0.6.3 - 24-Feb-2004
232
+ * Fixed a bug in the Solaris version where the cmd_args array did not
233
+ necessarily contain data on 2.7 and later. The current patch still
234
+ does not quite fix the problem for 2.6 and earlier but can be easily
235
+ derived manually by parsing the cmdline string.
236
+
237
+ == 0.6.2 - 20-Jan-2004
238
+ * Fixed a small memory leak in the solaris version.
239
+
240
+ == 0.6.1 - 31-Dec-2003
241
+ * Fixed a minor bug in the cmdline field on Linux where a blank character
242
+ was being appended to the end of the field.
243
+ * Fixed a minor annoyance where the windows.rb file was being copied into
244
+ the Ruby lib directory on install.
245
+ * Added a test_memleak.rb file. Currently only supported on Linux and
246
+ only does a file descriptor count check. I plan to expand this to
247
+ other platforms in the future.
248
+ * Minor test suite changes
249
+ * MANIFEST correction and update.
250
+
251
+ == 0.6.0 - 22-Oct-2003
252
+ * Significant API change (and thus, a version jump) - only a
253
+ single argument is now accepted to the ps() method, and only a PID
254
+ (Fixnum) is regarded as a valid argument.
255
+ * Calling ps() with a pid returns a single ProcTable struct (or nil
256
+ if the pid is not found), instead of a one element array.
257
+ * Argument to ps() now works properly on HP-UX and Win32.
258
+ * Removed the '#include <sys/types32.h>' in sunos.h. It wasn't needed
259
+ and you're not supposed to include it directly.
260
+ * Fixed 2.6 compatibility issue with regards to cmdline on Solaris.
261
+ * Removed the ProcStatException completely on Linux. There was no reason
262
+ to fail on a directory read for /proc/xxx/stat. If the read fails
263
+ (meaning the process died in the middle of collecting info for it), it
264
+ is simply ignored.
265
+ * The ttynum bug on HPUX has been fixed. In addition, the return value for
266
+ this field is now a string rather than an int and the field name has
267
+ been changed to "ttydev".
268
+ * The ttynum field has been changed to ttydev on Solaris and HPUX. On
269
+ Solaris, the ttydev is now reported as -1 if there is no associated tty.
270
+ In a future release, Solaris and the other *nix platforms will be changed
271
+ so that ttydev is always a device name (i.e String).
272
+ * Added plain text documentation for all platforms.
273
+ * Some test suite cleanup.
274
+ * Changed .rd2 extension to just '.rd'.
275
+
276
+ == 0.5.2 - 18-Jul-2003
277
+ * Modified cmdline to extend past the traditional 80 character limit on
278
+ Solaris, where possible (Solaris 2.6+ only).
279
+ * Added the cmdline_args and num_args fields on Solaris, which returns
280
+ an array of cmdline arguments and the number of cmdline arguments,
281
+ respectively.
282
+ * Minor modification to fields() method, in addition to warning cleanup
283
+ for Solaris.
284
+ * Changed "defunct" state string to "zombie" for Solaris.
285
+ * Should cleanly compile with -Wall -W now (gcc) on Solaris.
286
+ * Added solaris.txt to doc directory.
287
+ * MANIFEST corrections.
288
+
289
+ == 0.5.1 - 16-Jul-2003
290
+ * Fixed a nasty file descriptor bug in the Linux code, where file descriptors
291
+ were continuously being used up.
292
+ * Added the BTIME (boot time) constant for Linux.
293
+ * Fixed up the test/test.rb file a bit.
294
+ * Added BTIME tests to tc_linux.rb.
295
+
296
+ == 0.5.0 - 11-Jul-200
297
+ * Added HP-UX support!
298
+ * Note that passing PID's or strings as arguments to ps() is not supported
299
+ in the HP-UX version. This functionality will be stripped out of the
300
+ other versions in a future release. See the README file for more details.
301
+ * Removed the VERSION() class method. Use the constant instead.
302
+ * Separated the rd docs from their respective source files. Now in the doc
303
+ directory.
304
+ * Got rid of the interactive html generation in extconf.rb.
305
+ * Changed License to Artistic.
306
+
307
+ == 0.4.3 - 30-May-2003
308
+ * Added a version.h file to store the version number. Modified all of the
309
+ C source files to use that instead of hard coding the version everywhere.
310
+ * Added a generic test.rb script for those without TestUnit installed, or
311
+ just futzing in general. Modified the extconf.rb script to copy this
312
+ instead of writing an inline HERE document.
313
+ * Modified extconf.rb so that it builds with mingw or cygwin. Thanks go to
314
+ Peter Fischer for the spot and patch.
315
+ * Modified test suite to work with TestUnit 0.1.6 or 0.1.8.
316
+
317
+ == 0.4.2 - 14-Apr-2003
318
+ * Added pure Ruby version for Win32 - thanks Park Heesob.
319
+ * Modified extconf.rb file to handle pure Ruby versions.
320
+ * Added install_pure_ruby.rb file, an alternate installation
321
+ script for pure Ruby versions.
322
+
323
+ == 0.4.1 - 31-Mar-2003
324
+ * Added support for Solaris 2.5.x.
325
+ * All exceptions are now a direct subclass of StandardError.
326
+ * Value returned for wchan now more meaningful (2.5.x only for now).
327
+ * Fixed the start, utime and ctime for FreeBSD.
328
+ * Minor fix to FreeBSD test suite.
329
+ * Some changes to extconf.rb.
330
+ * Minor doc changes.
331
+ * Added License and Copyright info.
332
+
333
+ == 0.4.0 - 10-Mar-2003
334
+ * Added MS Windows support (non-cygwin).
335
+ * Added environment information for Linux version.
336
+ * Added real exceptions (type depends on platform).
337
+ * Added a test suite (for those with testunit installed).
338
+ * Removed the sys-uname requirement.
339
+ * Heavily modified the extconf.rb script.
340
+ * Changed "Changelog" to "CHANGES" and "Manifest" to "MANIFEST".
341
+ * Added a VERSION constant and class method.
342
+ * Minor internal directory layout change (put 'os' under 'lib').
343
+ * Changed package name to lower case.
344
+ * Doc changes, including license information.
345
+
346
+ == 0.3.1 - 16-Aug-2002
347
+ * Added a "comm" field to the sunos version. I am going to try to make this a
348
+ common field for all platforms to help reduce RUBY_PLATFORM checking.
349
+ * Fixed the release date for 0.3.0 (was accidentally marked *July*).
350
+ * Added an INSTALL file.
351
+ * Minor documentation change to the sunos.c source file.
352
+
353
+ == 0.3.0 - 11-Aug-2002
354
+ * Added FreeBSD support!
355
+ * Struct name changed to just "ProcTableStruct" to be compliant with future
356
+ versions of Ruby.
357
+ * The ps() function now returns an array of ProcTableStruct's in lvalue context.
358
+ * Fixed the ability to search by process name in Linux.
359
+ * Modified Linux "comm" field to strip parenthesis.
360
+ * Some doc changes/additions.
361
+ * Added Sean Chittenden to the "Acknowledgements" section. Sean provided me
362
+ with access to a FreeBSD box, which is how I was able to provide FreeBSD
363
+ support. Thanks Sean!
364
+
365
+ == 0.2.0 - 19-Jul-2002
366
+ * Added the ability to search by process name.
367
+ * test.rb modified to be cross-platform.
368
+ * Solaris - fixed bug with fname (was accidentally called "name").
369
+
370
+ == 0.1.0 - 2-Jul-2002
371
+ - Initial release.