Skip to content

Commit

Permalink
mqstat: replace g as well as gb when parsing qstat.
Browse files Browse the repository at this point in the history
Reported by: Rossen.
  • Loading branch information
wwood committed Oct 30, 2024
1 parent af88a17 commit 1a0a254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/mqstat
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def get_non_microbiome_jobs():
continue
else:
cpus = int(splits[6])
ram = int(splits[7].replace('gb',''))
ram = int(splits[7].replace('gb','').replace('g',''))
jc.num_total_cpus += cpus
jc.ram_total += ram
if splits[9] == 'R':
Expand Down

0 comments on commit 1a0a254

Please sign in to comment.