Linux::GetPidstat::Collector - Collect pidstats' results
use Linux::GetPidstat::Collector; my $ret_pidstats = Linux::GetPidstat::Collector->new( interval => '1', count => '60', )->get_pidstats_results($program_pid_mapping);
To install Linux::GetPidstat, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Linux::GetPidstat
CPAN shell
perl -MCPAN -e shell install Linux::GetPidstat
For more information on module installation, please visit the detailed CPAN module installation guide.