Parallel::Mpich::MPD::Job - Mpich MPD job wrapper
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 this job. See examples: Parallel::Mpich::MPD::findJob(alias => 'olivier1')->kill(); Parallel::Mpich::MPD::findJob(jobid => '1@linux02_32996')->kill();
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.
Stop this job. return false if not ok
Continue this job. return false if not ok
Send a kill signal
compare towo jobs and return true/false FIXME.: should be implemented
return a string for the current job
Olivier Evalet, Alexandre Masselot, <alexandre.masselot at genebio.com>
<alexandre.masselot at genebio.com>
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.
bug-parallel-mpich-mpd at rt.cpan.org
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
Copyright 2006 Olivier Evalet, Alexandre Masselot, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Parallel::Mpich::MPD, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Parallel::Mpich::MPD
CPAN shell
perl -MCPAN -e shell install Parallel::Mpich::MPD
For more information on module installation, please visit the detailed CPAN module installation guide.