aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Hoffmann <volker@cheleb.net>2015-08-26 08:55:42 +0200
committerVolker Hoffmann <volker@cheleb.net>2015-08-26 08:55:42 +0200
commitb29d230eead7008d0d655bd02b1b084333179813 (patch)
tree6e3943375b67ef82dfbe10292a5b93a726800d15
parent2ed8948c84cec1912bc84e5078210521b9f1ffe8 (diff)
docs: function doc fixes
-rw-r--r--Common/slurm.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Common/slurm.py b/Common/slurm.py
index 3ff13fc..bb9381a 100644
--- a/Common/slurm.py
+++ b/Common/slurm.py
@@ -12,7 +12,7 @@ def get_number_of_nodes_down():
Slurm Command:
sinfo --format=%o --list-reasons --noheader --partition=zbox
- @return: number_of_nodes_down [Integer]
+ @return: number_of_nodes_down - [Dict {'partition': 2, ...}]
"""
number_of_nodes_down = {}
@@ -70,7 +70,7 @@ def get_cpu_allocations():
Slurm Command:
squeue --format=%C --partition zbox --noheader
- @return: number_of_allocated_cpus [Dict {'partition': ncpus}]
+ @return: number_of_allocated_cpus - [Dict {'partition': ncpus, ...}]
"""
# Old, Really Slow Command:
@@ -106,7 +106,7 @@ def get_number_of_jobs_by_partition_and_state():
Slurm Command:
squeue --noheader --format=%T:%P --partition=zbox --state=pending
- @return number_of_jobs_by_partition - [Dict {'zbox': {'running': 1}}
+ @return number_of_jobs_by_partition - [Dict {'zbox': {'running': 1}, ...]
"""
partitions = [ 'zbox', 'serial', 'debug', 'tasna', 'vesta' ]