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

Merge branch 'cuda_collectd' into 'master'

finally corrected the cuda collectd script

See merge request !140
parents 359f414a 5a682b06
No related branches found
No related tags found
1 merge request!140finally corrected the cuda collectd script
......@@ -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