On Dec 23, 2007 10:53 PM, lists user <[EMAIL PROTECTED]> wrote:

> How to get a process's snapshot data in perl like Apache::Scoreboard
> for apache processes?

Probably in much the same way.

What process's data are you trying to obtain? In the case of Apache,
it maintains the so-called scoreboard, which is to say that Apache
actively publishes scoreboard data. If the process you're interested
in doesn't try to make its internal data public, extracting that data
isn't easy, nor reliable. On the other hand, if that program publishes
its internal state in a way analogous to what Apache does, then how to
get what you want should be documented somewhere; find that (or make
it happen, if you've got the program's source) and you'll be most of
the way there.

Good luck with it!

--Tom Phoenix
Stonehenge Perl Training

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to