The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Bio::DOOP::Util::Run::Admin - Manage the running mofext or fuzznuc processes

VERSION

Version 0.3

SYNOPSIS

DESCRIPTION

This class manages the Run objects (Bio::DOOP::Run::Mofext and Bio::DOOP::Run::Fuzznuc).

AUTHORS

Tibor Nagy, Godollo, Hungary and Endre Sebestyen, Martonvasar, Hungary

METHODS

new

Creates a new Admin class.

Return type: Bio::DOOP::Util::Run::Admin object

  $admin = Bio::DOOP::Util::Run::Admin->new;

get_run_pids

Returns the arrayref of running pids.

  for my $i (@{$admin->get_run_pids}){
     $admin->kill($i,9);
  }

kill

Sends specified signal to a process given by the first arguments.

Return type: none

  $admin->kill(1234,SIGINT);

nice

Sets the priority of the process.

Return type: none

  $admin->nice(1234,19);