* This commit adds support for showing GPU and VRAM usage on GPUs which make use of the amdgpu driver. It should be noted that GPU usage can be somewhat inaccurate because of the low sampling frequency.
226 lines
6.4 KiB
JSON
226 lines
6.4 KiB
JSON
{
|
|
"head0": {
|
|
"type": "header",
|
|
"description": "Settings for system-monitor-graph@rcassani"
|
|
},
|
|
|
|
"head1": {
|
|
"type": "header",
|
|
"description": "General"
|
|
},
|
|
"type": {
|
|
"type": "combobox",
|
|
"default": "cpu",
|
|
"description": "System variable for graph",
|
|
"tooltip": "Select the system variable to monitor.",
|
|
"options" : {
|
|
"CPU" : "cpu",
|
|
"RAM" : "ram",
|
|
"Swap" : "swap",
|
|
"HDD" : "hdd",
|
|
"GPU" : "gpu"
|
|
}
|
|
},
|
|
"data-prefix-ram": {
|
|
"type": "combobox",
|
|
"default": 0,
|
|
"options": {
|
|
"Binary prefix or IEC (1 GiB = 1024³ bytes)" : 0,
|
|
"Decimal prefix (1 GB = 1000³ bytes)" : 1
|
|
},
|
|
"description": "Prefix for data units",
|
|
"tooltip": "Unit prefix for RAM size.",
|
|
"dependency": "type=ram"
|
|
},
|
|
"data-prefix-swap": {
|
|
"type": "combobox",
|
|
"default": 0,
|
|
"options": {
|
|
"Binary prefix or IEC (1 GiB = 1024³ bytes)" : 0,
|
|
"Decimal prefix (1 GB = 1000³ bytes)" : 1
|
|
},
|
|
"description": "Prefix for data units",
|
|
"tooltip": "Unit prefix for Swap size.",
|
|
"dependency": "type=swap"
|
|
},
|
|
"data-prefix-hdd": {
|
|
"type": "combobox",
|
|
"default": 0,
|
|
"options": {
|
|
"Binary prefix or IEC (1 GiB = 1024³ bytes)" : 0,
|
|
"Decimal prefix (1 GB = 1000³ bytes)" : 1
|
|
},
|
|
"description": "Prefix for data units",
|
|
"tooltip": "Unit prefix for Filesystem size.",
|
|
"dependency": "type=hdd"
|
|
},
|
|
"filesystem": {
|
|
"type": "filechooser",
|
|
"default": "file:///",
|
|
"description": "Filesystem to monitor",
|
|
"tooltip": "Select a directory in the filesystem to monitor.",
|
|
"allow-none" : true,
|
|
"select-dir" : true,
|
|
"dependency": "type=hdd"
|
|
},
|
|
"filesystem-label": {
|
|
"type": "entry",
|
|
"default": "",
|
|
"description": "Filesystem label",
|
|
"tooltip": "Empty uses the filesystem name from df.",
|
|
"dependency": "type=hdd"
|
|
},
|
|
"gpu-manufacturer": {
|
|
"type": "combobox",
|
|
"default": "nvidia",
|
|
"description": "GPU manufacturer",
|
|
"tooltip": "Select the GPU manufacturer.",
|
|
"options" : {
|
|
"NVIDIA" : "nvidia",
|
|
"AMDGPU" : "amdgpu"
|
|
},
|
|
"dependency": "type=gpu"
|
|
},
|
|
"gpu-id": {
|
|
"type": "entry",
|
|
"default": "0",
|
|
"description": "Id of GPU to monitor",
|
|
"tooltip": "Check GPU id with nvidia-smi -L",
|
|
"dependency": "type=gpu"
|
|
},
|
|
"gpu-variable": {
|
|
"type": "combobox",
|
|
"default": "usage",
|
|
"description": "GPU variable to monitor",
|
|
"tooltip": "Select the GPU variable to monitor.",
|
|
"options" : {
|
|
"Usage" : "usage",
|
|
"Memory" : "memory"
|
|
},
|
|
"dependency": "type=gpu"
|
|
},
|
|
"data-prefix-gpumem": {
|
|
"type": "combobox",
|
|
"default": 0,
|
|
"options": {
|
|
"Binary prefix or IEC (1 GiB = 1024³ bytes)" : 0,
|
|
"Decimal prefix (1 GB = 1000³ bytes)" : 1
|
|
},
|
|
"description": "Prefix for data units",
|
|
"tooltip": "Unit prefix for GPU memory size.",
|
|
"dependency": "type=gpu"
|
|
},
|
|
"duration": {
|
|
"type": "combobox",
|
|
"default": 60,
|
|
"description": "Duration of the graph",
|
|
"tooltip": "Maximum among of time to show in the graph.",
|
|
"options" : {
|
|
"30 s": 30,
|
|
" 1 min": 60,
|
|
" 2 min": 120,
|
|
" 5 min": 300,
|
|
"10 min": 600,
|
|
"30 min": 1800,
|
|
"60 min": 3600
|
|
}
|
|
},
|
|
"refresh-interval": {
|
|
"type": "combobox",
|
|
"default": 1,
|
|
"description": "Refresh interval",
|
|
"tooltip": "How often a new value of the variable will be calculated.",
|
|
"options" : {
|
|
" 1 s": 1,
|
|
" 2 s": 2,
|
|
" 5 s": 5,
|
|
"10 s": 10,
|
|
"30 s": 30,
|
|
"60 s": 60
|
|
}
|
|
},
|
|
|
|
|
|
"head2": {
|
|
"type": "header",
|
|
"description": "Visual"
|
|
},
|
|
"background-color": {
|
|
"type": "colorchooser",
|
|
"default": "rgba(50,50,50,1)",
|
|
"description": "Background color",
|
|
"tooltip": "RGB or RGBA."
|
|
},
|
|
"text-color": {
|
|
"type": "colorchooser",
|
|
"default": "rgba(255,255,255,1)",
|
|
"description": "Text color",
|
|
"tooltip": "RGB or RGBA."
|
|
},
|
|
"line-color-cpu": {
|
|
"type": "colorchooser",
|
|
"default": "rgba(23,147,208,1.0)",
|
|
"description": "Line color CPU",
|
|
"dependency": "type=cpu",
|
|
"tooltip": "RGB or RGBA. Alpha is ignored"
|
|
},
|
|
"line-color-ram": {
|
|
"type": "colorchooser",
|
|
"default": "rgba(137,190,67,1.0)",
|
|
"description": "Line color RAM",
|
|
"dependency": "type=ram",
|
|
"tooltip": "RGB or RGBA. Alpha is ignored"
|
|
},
|
|
"line-color-swap": {
|
|
"type": "colorchooser",
|
|
"default": "rgba(229,165,10,1.0)",
|
|
"description": "Line color Swap",
|
|
"dependency": "type=swap",
|
|
"tooltip": "RGB or RGBA. Alpha is ignored"
|
|
},
|
|
"line-color-hdd": {
|
|
"type": "colorchooser",
|
|
"default": "rgba(197,86,33,1.0)",
|
|
"description": "Line color HDD",
|
|
"dependency": "type=hdd",
|
|
"tooltip": "RGB or RGBA. Alpha is ignored"
|
|
},
|
|
"line-color-gpu": {
|
|
"type": "colorchooser",
|
|
"default": "rgba(197,86,133,1.0)",
|
|
"description": "Line color GPU",
|
|
"dependency": "type=gpu",
|
|
"tooltip": "RGB or RGBA. Alpha is ignored"
|
|
},
|
|
"midline-color": {
|
|
"type": "colorchooser",
|
|
"default": "rgba(127,127,127,1)",
|
|
"description": "Grid color",
|
|
"tooltip": "RGB or RGBA."
|
|
},
|
|
"h-midlines": {
|
|
"type": "spinbutton",
|
|
"default": 4,
|
|
"min": 0,
|
|
"max": 50,
|
|
"step": 1,
|
|
"description": "Number of horizontal lines in the grid"
|
|
},
|
|
"v-midlines": {
|
|
"type": "spinbutton",
|
|
"default": 4,
|
|
"min": 0,
|
|
"max": 30,
|
|
"step": 1,
|
|
"description": "Number of vertical lines in the grid"
|
|
},
|
|
"scale-size": {
|
|
"type": "scale",
|
|
"default": 1,
|
|
"min": 0.5,
|
|
"max": 5,
|
|
"step": 0.1,
|
|
"description": "Scale factor for desklet size (scale factor of 1 = 330 x 120 px)"
|
|
}
|
|
}
|