Parallel::Mpich::MPD::Job - Mpich MPD job wrapper


Parallel-Mpich-MPD documentation  | view source Contained in the Parallel-Mpich-MPD distribution.

Index


NAME

Top

Parallel::Mpich::MPD::Job - Mpich MPD job wrapper

SYNOPSIS

Top

EXPORT

Top

FUNCTIONS

Top

METHOD

Top

infos

Get information of this job. Information contains these values: my %info=$job->infos(); $info{jobid}; $info{jobalias}; $info{username}; $info{hosts}[0..N]{host}; $info{hosts}[0..N]{pid}; $info{hosts}[0..N]{sid}; $info{hosts}[0..N]{rank}; $info{hosts}[0..N]{cmd};

kill

Kill this job. See examples: Parallel::Mpich::MPD::findJob(alias => 'olivier1')->kill(); Parallel::Mpich::MPD::findJob(jobid => '1@linux02_32996')->kill();

signal

Send a sig to this job. It return false if not ok. examples: # SIGQUIT, SIGKILL, SIGSTOP, SIGCONT, SIGXCPU, SIGUSR1, SIGUSR2 Parallel::Mpich::MPD::findJob(alias => 'olivier1')->signal("SIGSTOP"); Parallel::Mpich::MPD::findJob(alias => 'olivier1')->signal("SIGCONT"); Parallel::Mpich::MPD::findJob(jobid => '1@linux02_32996')->kill();

  NOTE:
  You couLd check the state with the following ps command:
  ps -eo state,nice,user,comm
  ps state des:
  D    Uninterruptible sleep (usually IO)
  R    Running or runnable (on run queue)
  S    Interruptible sleep (waiting for an event to complete)
  T    Stopped, either by a job control signal or because it is being traced.
  W    paging (not valid since the 2.6.xx kernel)
  X    dead (should never be seen)
  Z    Defunct ("zombie") process, terminated but not reaped by its parent.

sig_stop

Stop this job. return false if not ok

sig_cont

Continue this job. return false if not ok

kill

Send a kill signal

equals($job)

compare towo jobs and return true/false FIXME.: should be implemented

toSummaryString

return a string for the current job

AUTHOR

Top

Olivier Evalet, Alexandre Masselot, <alexandre.masselot at genebio.com>

BUGS

Top

Please report any bugs or feature requests to bug-parallel-mpich-mpd at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Parallel-Mpich-MPD. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

Top

You can find documentation for this module with the perldoc command.

    perldoc Parallel::Mpich::MPD

You can also look for information at:

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/Parallel-Mpich-MPD

* CPAN Ratings

http://cpanratings.perl.org/d/Parallel-Mpich-MPD

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=Parallel-Mpich-MPD

* Search CPAN

http://search.cpan.org/dist/Parallel-Mpich-MPD

ACKNOWLEDGEMENTS

Top

COPYRIGHT & LICENSE

Top


Parallel-Mpich-MPD documentation  | view source Contained in the Parallel-Mpich-MPD distribution.