1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
4
<LANGUAGE>eng</LANGUAGE>
5
<TITLE>pvm_tasks</TITLE>
6
<TYPE>Scilab function</TYPE>
8
<SHORT_DESCRIPTION name="pvm_tasks"> information about the tasks running on the virtual machine. </SHORT_DESCRIPTION>
10
<CALLING_SEQUENCE_ITEM>res = pvm_tasks([where]) </CALLING_SEQUENCE_ITEM>
15
<PARAM_NAME>where</PARAM_NAME>
17
<SP>: (optional) integer, specifying what tasks to return information about. The options are:</SP>
20
0(default) for all the tasks on the virtual machine
21
pvmd tid for all tasks on a given host
22
tid for a specific task
28
<PARAM_NAME>res</PARAM_NAME>
30
<SP>: list of 7 elements such that:</SP>
33
<PARAM_NAME>res(1) </PARAM_NAME>
35
<SP>: integer returning task ID of one task</SP>
39
<PARAM_NAME>res(2) </PARAM_NAME>
41
<SP>: integer returning parent task ID</SP>
45
<PARAM_NAME>res(3) </PARAM_NAME>
47
<SP>: integer returning pvmd task ID of host task is on</SP>
51
<PARAM_NAME>res(4) </PARAM_NAME>
53
<SP>: integer returning status of task</SP>
57
<PARAM_NAME>res(5) </PARAM_NAME>
59
<SP>: string returning the name of spawned task. Manually started tasks return blank.</SP>
63
<PARAM_NAME>res(6) </PARAM_NAME>
65
<SP>: integer returning the number of tasks being reported on.</SP>
69
<PARAM_NAME>res(7) </PARAM_NAME>
71
<SP>: integer status code returned by the routine.</SP>
80
<P><VERB>pvm_tasks</VERB>
81
returns information about
82
tasks presently running on the virtual machine.
83
The information returned is the same as
84
that available from the console command</P>
86
The <VERB>pvm_tasks</VERB> function returns information about the entire
87
virtual machine in one call.</P>
89
If pvm_tasks is successful,</P>
92
If some error occurs then</P>
104
! 262148. 262151. 262152. !
108
! 262147. 0. 262151. !
112
! 262144. 262144. 262144. !
120
!pvmgs /home/ubeda/SCILAB/scilab-2.4/bin/scilex !
134
<LINK>pvm_config</LINK>
137
<LINK>pvm_tidtohost</LINK>