There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

NAME

Linux::GetPidstat::Reader - Read each pid info from a pid dir path

SYNOPSIS

use Linux::GetPidstat::Reader;

my $instance = Linux::GetPidstat::Reader->new(
    pid_dir       => './pid',
    include_child => 1,
);
my $pids = $instance->get_program_pid_mapping;