I have got GPU usage in a percentage successfully updating every 5 seconds. I can't seem to get the graph to display however.
Here is my code:
Code: Select all
conky.config = {
update_interval = 5,
cpu_avg_samples = 2,
net_avg_samples = 2,
out_to_console = false,
override_utf8_locale = true,
double_buffer = true,
no_buffers = true,
text_buffer_size = 32768,
imlib_cache_size = 0,
own_window = true,
own_window_type = 'normal',
own_window_argb_visual = true,
own_window_argb_value = 50,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
border_inner_margin = 5,
border_outer_margin = 0,
gap_x = 0,
gap_y = 0,
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = false,
use_xft = true,
font = 'Neon 80s:size=24',
xftalpha = 0.8,
uppercase = false,
color = 'white',
own_window_colour = '#000000',
minimum_width = 300, minimum_height = 100,
alignment = 'middle_middle',
};
conky.text = [[
${color}${font}GPU: ${execp nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits}%
${color}${execgraph "echo $(execp nvidia-smi --query-gpu=utilization.gpu --format=csv,noheader,nounits)" 40,100 ffff00 ff0000 -t}
]]
Can anyone help me edit the command?
Thanks for reading,
Logan