Yohei Yoshimuta
and 3 contributors

NAME

Linux::GetPidstat::Writer::File - Write pidstat's results to a file

SYNOPSIS

    use Linux::GetPidstat::Writer::File;

    my $t = localtime;
    my $instance = Linux::GetPidstat::Writer::File->new(
        res_file => './res.log',
        now      => $t,
        dry_run  => '0',
    );
    $instance->output('backup_mysql', 'cpu', '21.20');