For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > December 2007 > process snapshot









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author process snapshot
Lists User

2007-12-24, 4:00 am

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

Happy holidays guys!
Tom Phoenix

2007-12-24, 10:04 pm

On Dec 23, 2007 10:53 PM, lists user <practicalperl@gmail.com> 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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com