Endre Sebestyen > Bio-DOOP-DOOP-1.03 > Bio::DOOP::Util::Run::Admin

Download:
Bio-DOOP-DOOP-1.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.3   Source  

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);