How can I query the compute node processes that belong to a job?


Issue: How can I query the compute node processes that belong to a job?

Symptom: I would like to know what process numbers are associated witha job on each compute node.

Solution:

 

Starting in 6.0, you can query all the processes with our cgroups feature. In previous versions this is not possible. The best solution is to use pstree. To answer your question about the mother superior: unfortunately, mother superior does not track the pids from all the sister moms. The only thing that mother superior does in relation to sister moms is open a TCP connection and tell the sister mom to launch a job. Then, at the end of that job, the sister mom calls back to mother superior and sends cputime, mem and vmem used. This information is then compiled by mother superior and sent to the pbs_server.

Your best option is to use cgroups in 6.0 or pstree with earlier versions.

Tags: cgroups, processes
Last update:
2016-07-12 19:06
Author:
Jason Booth
Revision:
1.1
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

Records in this category

Tags