I am an indirect long-term user of this module via other modules that needed it and therefore was one of the victims when it broke for non-threaded perls a few years ago, with all the hassle of investigating, hoping for a while, and eventually migrating away from the modules that needed it.
Coincidentally I just found this module again, and can happily confirm that it works again.
I used it to kill trees of processes using killfam and to explicitly collect such trees for other operations using Proc::ProcessTable, and Killfam::get_pids().
I could confirm its functionality with an independent pstree shell scripting solution I wrote as fall-back.
Although I only used it on Linux yet I skimmed the source to get some confidence how it approaches platform independence, and it looked good to me.
Thanks to JWB for getting this module back on track.
The module is now working on all linux-based systems, FreeBSD, OpenBSD, cygwin and Mac OS X. I would also claim that it runs fine on Solaris and other systems.
In summary, yes, in 0.47 and 0.48 the most major bugs are fixed. This was possible thanks to patches and bugfixes supplied by the community (I actually did not do so much). I'm now actively going through the remaining bugs on RT and hope to close them in the near future.
In case something goes wrong on <insertyourplatformhere>, please also file a bug report on
The comments below are rather negative, but they apply to 0.45. Since a new maintainer is in charge, and we are at 0.47, I wonder what the situation is now. Have the major bugs been fixed? Some feedback from other or the author would be great before we start installing and using. Thanks!
Seems abandoned and we did find critical problem in it which really hurt us - rt.cpan.org/Public/Bug/Display.html?i...
I'd say try to avoid using it unless somebody steps up to maintainer role again.
UPDATE: seems that there is new active maintainer and seems like bugs are being fixed in new releases!
0.44 is fine, but please please please please take 0.45 OFF CPAN!
It requires threads, and none of my perls has threads, but cpan still installs, as the tests don't fail, but the module doesn't work anymore.
The best cross-platform approach to getting process information. This is not parsed output, but an actual interface to the underlying OS C libs. All the popular platforms are supported, and even a few obscure ones.
The author is responsive, friendly and good about patching. He has also been very helpful in answering my questions when it came to porting his code to Ruby.
Oh, and don't let the author's own "BETA" status fool you - this module is definitely production level code.