diff --git a/frigate/util.py b/frigate/util.py
index 12139bf99..b01234c1a 100755
--- a/frigate/util.py
+++ b/frigate/util.py
@@ -824,7 +824,14 @@ def get_cpu_stats() -> dict[str, dict]:
else:
mem_pct = stats[9]
- usages[stats[0]] = {
+ idx = stats[0]
+
+ if stats[-1] == "go2rtc":
+ idx = "go2rtc"
+ elif stats[-1] == "frigate.r+":
+ idx = "recording"
+
+ usages[idx] = {
"cpu": stats[8],
"mem": mem_pct,
}
diff --git a/web/src/routes/System.jsx b/web/src/routes/System.jsx
index 8a5f2c28f..0320e237b 100644
--- a/web/src/routes/System.jsx
+++ b/web/src/routes/System.jsx
@@ -345,6 +345,33 @@ export default function System() {
)}
+
CPU % | +Memory % | +
---|---|
{cpu_usages[process]?.['cpu'] || '- '}% | +{cpu_usages[process]?.['mem'] || '- '}% | +
System stats update automatically every {config.mqtt.stats_interval} seconds.
)}