Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
a7c588b8
Commit
a7c588b8
authored
11 years ago
by
Morris Jette
Browse files
Options
Downloads
Patches
Plain Diff
update proctrack function name documentation
parent
ec85bcda
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/html/proctrack_plugins.shtml
+8
-8
8 additions, 8 deletions
doc/html/proctrack_plugins.shtml
with
8 additions
and
8 deletions
doc/html/proctrack_plugins.shtml
+
8
−
8
View file @
a7c588b8
...
...
@@ -79,10 +79,10 @@ Successful API calls are not required to reset errno to a known value.</p>
<p>The following functions must appear. Functions which are not implemented should
be stubbed.</p>
<p class="commandline">int proctrack_p_
plugin_
create (stepd_step_rec_t *job);</p>
<p class="commandline">int proctrack_p_create (stepd_step_rec_t *job);</p>
<p style="margin-left:.2in"><b>Description</b>: Create a container.
The caller should insure that be valid
<span class="commandline">proctrack_p_
plugin_
destroy()</span> is called.
<span class="commandline">proctrack_p_destroy()</span> is called.
This function must put the container ID directory in the job structure's
variable <i>cont_id</i>.</p>
<p style="margin-left:.2in"><b>Argument</b>:
...
...
@@ -92,7 +92,7 @@ Pointer to a slurmd job structure.</p>
the plugin should return Slurm_ERROR and set the errno to an appropriate value
to indicate the reason for failure.</p>
<p class="commandline">int proctrack_p_
plugin_
add (stepd_step_rec_t *job, pid_t pid);</p>
<p class="commandline">int proctrack_p_add (stepd_step_rec_t *job, pid_t pid);</p>
<p style="margin-left:.2in"><b>Description</b>: Add a specific process ID
to a given job step's container.</p>
<p style="margin-left:.2in"><b>Arguments</b>:<br>
...
...
@@ -104,7 +104,7 @@ The ID of the process to add to this job's container.</p>
the plugin should return Slurm_ERROR and set the errno to an appropriate value
to indicate the reason for failure.</p>
<p class="commandline">int proctrack_p_
plugin_
signal (uint64_t id, int signal);</p>
<p class="commandline">int proctrack_p_signal (uint64_t id, int signal);</p>
<p style="margin-left:.2in"><b>Description</b>: Signal all processes in a given
job step container.</p>
<p style="margin-left:.2in"><b>Arguments</b>:<br>
...
...
@@ -120,7 +120,7 @@ its errno to an appropriate value to indicate the reason for failure.</p>
<p class="footer"><a href="#top">top</a></p>
<p class="commandline">int proctrack_p_
plugin_
destroy (uint64_t id);</p>
<p class="commandline">int proctrack_p_destroy (uint64_t id);</p>
<p style="margin-left:.2in"><b>Description</b>: Destroy or otherwise
invalidate a job step container.
This does not imply the container is empty, just that it is no longer
...
...
@@ -132,7 +132,7 @@ Job step container's ID.</p>
the plugin should return Slurm_ERROR and set the errno to an appropriate value
to indicate the reason for failure.</p>
<p class="commandline">uint64_t proctrack_p_
plugin_
find (pid_t pid);</p>
<p class="commandline">uint64_t proctrack_p_find (pid_t pid);</p>
<p style="margin-left:.2in"><b>Description</b>:
Given a process ID, return its job step container ID.</p>
<p style="margin-left:.2in"><b>Arguments</b>:
...
...
@@ -141,7 +141,7 @@ A process ID.</p>
<p style="margin-left:.2in"><b>Returns</b>: The job step container ID
with this process or zero if none is found.</p>
<p class="commandline">uint32_t proctrack_p_
plugin_
get_pids (uint64_t cont_id, pid_t **pids, int *npids);</p>
<p class="commandline">uint32_t proctrack_p_get_pids (uint64_t cont_id, pid_t **pids, int *npids);</p>
<p style="margin-left:.2in"><b>Description</b>:
Given a process container ID, fill in all the process IDs in the container.</p>
<p style="margin-left:.2in"><b>Arguments</b>:
...
...
@@ -162,6 +162,6 @@ mechanism outlined for Slurm plugins.</p>
<p class="footer"><a href="#top">top</a></p>
<p style="text-align:center;">Last modified
8 July
201
3
</p>
<p style="text-align:center;">Last modified
6 March
201
4
</p>
<!--#include virtual="footer.txt"-->
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment