Skip to content
Snippets Groups Projects
Commit 700719e2 authored by Chris Hines's avatar Chris Hines
Browse files

finally corrected the cuda collectd script

Former-commit-id: 5a682b06
parent 3aed1f4f
No related branches found
No related tags found
No related merge requests found
......@@ -21,12 +21,12 @@ def read(data=None):
pass
try:
vl.dispatch(type='mem_utilization',
vl.dispatch(type='gauge', type_instance='mem_utilization',
values=[1e6 * float(gpu.find('utilization/memory_util').text.split()[0])])
except:
pass
try:
vl.dispatch(type='gpu_utilization',
vl.dispatch(type='gauge', type_instance='gpu_utilization',
values=[1e6 * float(gpu.find('utilization/gpu_util').text.split()[0])])
except:
pass
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment