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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +2 -3
- data/CHANGES +367 -357
- data/MANIFEST +33 -34
- data/README +110 -118
- data/Rakefile +215 -218
- data/benchmarks/bench_ps.rb +21 -21
- data/doc/top.txt +46 -46
- data/examples/example_ps.rb +20 -20
- data/lib/sys-proctable.rb +1 -1
- data/lib/sys/proctable/version.rb +6 -6
- data/lib/sys/top.rb +31 -31
- data/lib/windows/sys/proctable.rb +207 -207
- data/sys-proctable.gemspec +40 -40
- data/test/test_sys_proctable_all.rb +98 -87
- data/test/test_sys_proctable_windows.rb +324 -324
- data/test/test_sys_top.rb +65 -46
- metadata +4 -4
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3695bf6276ed13235155f0eac6fae7cdb2a0beff
|
4
|
+
data.tar.gz: bc7f3b1a31091d5012571971c7487028cc34fefa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
�
|
2
|
-
|
3
|
-
l9�F�Q��
|
1
|
+
{��!b��TP�C>#vJ�'��{ҁ��q�����+�yO^���& VE�x�q�[�S(�^Rg���GTb�Te�0���(8���40F>��ͣ��?+&ATm����\0�,�����䚬�Ұʾ)U�!YR
|
2
|
+
أ����:gg�|U�n^��;�zz��K�u[�XS�T,&'�~�����
|
data/CHANGES
CHANGED
@@ -1,357 +1,367 @@
|
|
1
|
-
== 1.
|
2
|
-
*
|
3
|
-
*
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
*
|
9
|
-
*
|
10
|
-
|
11
|
-
== 0.
|
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
|
-
the
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
*
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
*
|
62
|
-
*
|
63
|
-
|
64
|
-
*
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
* Fixed a
|
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
|
-
== 0.8.
|
99
|
-
* The Linux and Solaris
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
*
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
* The
|
110
|
-
|
111
|
-
|
112
|
-
*
|
113
|
-
|
114
|
-
|
115
|
-
*
|
116
|
-
|
117
|
-
|
118
|
-
*
|
119
|
-
*
|
120
|
-
* Added
|
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
|
-
* Fixed
|
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
|
-
|
182
|
-
|
183
|
-
*
|
184
|
-
|
185
|
-
|
186
|
-
*
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
*
|
192
|
-
|
193
|
-
*
|
194
|
-
|
195
|
-
*
|
196
|
-
*
|
197
|
-
|
198
|
-
|
199
|
-
*
|
200
|
-
|
201
|
-
*
|
202
|
-
|
203
|
-
|
204
|
-
*
|
205
|
-
|
206
|
-
*
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
*
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
*
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
*
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
the
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
*
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
*
|
242
|
-
|
243
|
-
|
244
|
-
*
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
is
|
251
|
-
*
|
252
|
-
|
253
|
-
|
254
|
-
*
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
*
|
269
|
-
|
270
|
-
* Changed
|
271
|
-
|
272
|
-
|
273
|
-
*
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
*
|
279
|
-
|
280
|
-
*
|
281
|
-
|
282
|
-
|
283
|
-
*
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
*
|
289
|
-
|
290
|
-
*
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
*
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
*
|
302
|
-
|
303
|
-
== 0.4.
|
304
|
-
* Added
|
305
|
-
|
306
|
-
* Added
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
*
|
312
|
-
|
313
|
-
|
314
|
-
*
|
315
|
-
*
|
316
|
-
*
|
317
|
-
|
318
|
-
|
319
|
-
== 0.4.
|
320
|
-
* Added
|
321
|
-
*
|
322
|
-
*
|
323
|
-
*
|
324
|
-
*
|
325
|
-
*
|
326
|
-
*
|
327
|
-
* Added
|
328
|
-
|
329
|
-
|
330
|
-
*
|
331
|
-
|
332
|
-
|
333
|
-
* Added a
|
334
|
-
|
335
|
-
*
|
336
|
-
*
|
337
|
-
*
|
338
|
-
|
339
|
-
|
340
|
-
*
|
341
|
-
|
342
|
-
|
343
|
-
*
|
344
|
-
|
345
|
-
*
|
346
|
-
*
|
347
|
-
*
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
*
|
354
|
-
*
|
355
|
-
|
356
|
-
|
357
|
-
|
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.
|