sys-proctable 1.1.0-universal-mingw32 → 1.1.1-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 +3 -2
- data/CHANGES +371 -367
- data/MANIFEST +33 -33
- data/README +110 -110
- data/Rakefile +215 -215
- 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 -98
- data/test/test_sys_proctable_windows.rb +324 -324
- data/test/test_sys_top.rb +65 -65
- metadata +2 -2
- 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: 065761016e849b8719d1925708585cd08cca6ab3
|
4
|
+
data.tar.gz: b01c2fc59524ea8d9411b57624adc5e86edd6984
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
2
|
-
|
1
|
+
�1\�_����;����k
|
2
|
+
P�o[���7L�)�Q��AQ�g�_ȿw��B�\4�n�t�g�U��3b|T�A���\��~Y��4;]��!E�f�OI匵�
|
3
|
+
o�p�hß."�t#?f��2j�g>�ϼ��?�ج)����1�b������U��Q.��
|
data/CHANGES
CHANGED
@@ -1,367 +1,371 @@
|
|
1
|
-
== 1.1.
|
2
|
-
*
|
3
|
-
*
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
*
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
*
|
13
|
-
*
|
14
|
-
|
15
|
-
== 0.
|
16
|
-
* Added
|
17
|
-
*
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
*
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
*
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
*
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
*
|
69
|
-
|
70
|
-
|
71
|
-
*
|
72
|
-
*
|
73
|
-
|
74
|
-
|
75
|
-
*
|
76
|
-
*
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
*
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
*
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
*
|
95
|
-
|
96
|
-
*
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
*
|
104
|
-
|
105
|
-
|
106
|
-
for the spot.
|
107
|
-
|
108
|
-
|
109
|
-
*
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
*
|
117
|
-
|
118
|
-
|
119
|
-
*
|
120
|
-
*
|
121
|
-
|
122
|
-
*
|
123
|
-
*
|
124
|
-
*
|
125
|
-
|
126
|
-
|
127
|
-
*
|
128
|
-
*
|
129
|
-
* Added
|
130
|
-
|
131
|
-
*
|
132
|
-
|
133
|
-
* Added
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
*
|
138
|
-
|
139
|
-
|
140
|
-
* Fixed the
|
141
|
-
*
|
142
|
-
|
143
|
-
|
144
|
-
*
|
145
|
-
*
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
== 0.7.
|
156
|
-
*
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
* Added
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
*
|
168
|
-
|
169
|
-
|
170
|
-
== 0.7.
|
171
|
-
*
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
*
|
176
|
-
*
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
*
|
181
|
-
for
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
*
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
*
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
* Added
|
196
|
-
|
197
|
-
*
|
198
|
-
|
199
|
-
*
|
200
|
-
|
201
|
-
*
|
202
|
-
|
203
|
-
*
|
204
|
-
|
205
|
-
* Some
|
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
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
*
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
*
|
246
|
-
|
247
|
-
|
248
|
-
*
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
*
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
*
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
*
|
269
|
-
|
270
|
-
*
|
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
|
-
|
304
|
-
*
|
305
|
-
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
* Modified
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
* Added
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
*
|
325
|
-
*
|
326
|
-
*
|
327
|
-
*
|
328
|
-
|
329
|
-
|
330
|
-
*
|
331
|
-
* Added
|
332
|
-
|
333
|
-
|
334
|
-
*
|
335
|
-
*
|
336
|
-
*
|
337
|
-
* Added a
|
338
|
-
*
|
339
|
-
*
|
340
|
-
*
|
341
|
-
|
342
|
-
|
343
|
-
*
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
*
|
348
|
-
|
349
|
-
|
350
|
-
* Added
|
351
|
-
*
|
352
|
-
|
353
|
-
|
354
|
-
*
|
355
|
-
*
|
356
|
-
|
357
|
-
*
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
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.
|