tokio.tools.jobinfo module

Site-independent interface to retrieve job info

tokio.tools.jobinfo.get_job_nodes(jobid, cache_file=None)[source]

Return a list of all job nodes used.

Creates a list of all nodes used for a jobid.

Returns:Set of node names used by the job described by this object
Return type:set
Raises:tokio.ConfigError – When no valid providers are found
tokio.tools.jobinfo.get_job_startend(jobid, cache_file=None)[source]

Find earliest start and latest end time for a job.

Returns:
Two-item tuple of (earliest start time,
latest end time)
Return type:tuple of datetime.datetime
Raises:tokio.ConfigError – When no valid providers are found