Linux::GetPidstat::Writer - Write pidstat's results to destinations
use Linux::GetPidstat::Writer; my $instance = Linux::GetPidstat::Writer->new( res_file => './res', mackerel_metric_type => 'service', mackerel_api_key => '', mackerel_service_name => '', dry_run => '0', ); $instance->output($results);
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.