[ANN] sys-proctable 0.6.0

B

Berger, Daniel

Hi all,

I'm happy to announce the release of sys-proctable 0.6.0. This is an
interface for providing process table information, ala the "ps" command,
though it works on Win32 systems as well. Note that this is an
extension to the underlying OS API, not parsed output.

Changes since last release:
===========================
- Significant API change (and thus, a version jump) - only a single
argument is now accepted to the ps() method, and only a PID (Fixnum) is
regarded as a valid argument.
- Calling ps() with a pid returns a single ProcTable struct (or nil if
the pid is not found), instead of a one element array.
- Argument to ps() now works properly on HP-UX and Win32.
- Removed the '#include ' in sunos.h. It wasn't needed and you're not
supposed to include it directly.
- Fixed 2.6 compatibility issue with regards to cmdline on Solaris.
- Removed the ProcStatException completely on Linux. There was no
reason to fail on a directory read for /proc/xxx/stat. If the read
fails (meaning the process died in the middle of collecting info for
it), it is simply ignored.
- The ttynum bug on HPUX has been fixed. In addition, the return value
for this field is now a string rather than an int and the field name has
been changed to "ttydev".
- The ttynum field has been changed to ttydev on Solaris and HPUX. On
Solaris, the ttydev is now reported as -1 if there is no associated tty.
In a future release, Solaris and the other *nix platforms will be
changed so that ttydev is always a device name (i.e String).
- Added plain text documentation for all platforms.
- Some test suite cleanup.
- Changed .rd2 extension to just '.rd'.

Wanted:
=======
OS X and AIX versions

Future Plans:
=============
-lkvm version for *BSD flavors

For more info:
==============
Visit http://ruby-sysutils.sourceforge.net/

Enjoy!

Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,901
Latest member
Noble71S45

Latest Threads

Top