From ce29a0f7ae2c59161f3c3ea6e3e9a62bdb1df1a0 Mon Sep 17 00:00:00 2001 From: Anton Shestakov Date: Fri, 17 Jul 2020 01:36:10 +0800 Subject: [PATCH] hwmon: recognize frequencies Discovered thanks to an RX 570, which can show sclk and mclk via /sys/class/hwmon. --- plugins/sensors/hwmon | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugins/sensors/hwmon b/plugins/sensors/hwmon index 66e44801..1a890c87 100755 --- a/plugins/sensors/hwmon +++ b/plugins/sensors/hwmon @@ -94,6 +94,13 @@ my %sensors = ( graph_args => "--base 1000 -l 0", denominator => 1000000 # microWatts -> Watts }, + freq => { + inputs => [], + title => "Frequencies", + vlabel => "Hz", + graph_args => "--base 1000 -l 0", + denominator => 1 + }, humidity => { inputs => [], title => "Humidity",