Skip to content

Commit

Permalink
added cpu temp
Browse files Browse the repository at this point in the history
  • Loading branch information
schech1 committed Oct 21, 2024
1 parent e308f2e commit 646655d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ def getSystemInfo():
systemInfo["diskUsed"] = round((disk.total - disk.free) / 1024**3, 2)
systemInfo["diskFree"] = round(disk.free / 1024**3, 2)
systemInfo["diskPercent"] = round((disk.total - disk.free) / disk.total * 100, 2)
systemInfo["cputemp"] = psutil.sensors_temperatures()

# Backend version
version_file_path = '/app/VERSION'
Expand Down

0 comments on commit 646655d

Please sign in to comment.