[Raleigh-talk] Parallel::ForkManager and progress

James Olin Oden james.oden at gmail.com
Fri Dec 19 11:06:37 PST 2008


On Fri, Dec 19, 2008 at 1:56 PM, Michael Peters <mpeters at plusthree.com> wrote:
> I've got a long running batch process that uses Parallel::ForkManager to
> split the work up and take advantage of the multiple CPU/Cores on the box.
> This part works fine (have I mentioned how much I love P::FM?). But I'd like
> to have some sort of a running progress on the screen when run manually.
>
> So, any ideas on how best to do this?
You can always just write your stats to a file.  Have to add flock()
to the equation
but it isn't that bad....james


More information about the Raleigh-talk mailing list