Louis Lecaroz wrote:

> Hi dear Perlers,
>  
> For a project, I modified the Win32::Job for retreiving Job statistics.
> The Win32::Job is really a great Perl class mapping Win32 Job features.
> But developers also use Win32 job features no to only start a process &
> its child to track them but also for retrieving global statistics on them.
> But in the current version of Win32::Job, only some minor details are
> returned like ONLY parent process exitcode, memory/cpu time.
>  
> Because sometimes, you need global statistics on a parent process & ALL
> ITS childs, I modified it.

A couple of suggestions before you find out where to submit it so
everyone is still happy :

1) You should allow for parent, child or both requests - if possible.
        ex: $which = PARENT_STATS;
        # default = COMB_STATS = PARENT_STATS | CHILD_STATS

2) Same for the various info types: basic, limit, IO or any combination.
        ex: $flags = BASIC_INFO | IO_INFO;
        # default = ALL_INFO = BASIC_INFO | LIMIT_INFO | IO_INFO

        my %hash = status ([$which[, $flags]]);

Good luck.
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to