sys-proctable 1.0.0-universal-mingw32 → 1.1.0-universal-mingw32

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