Commit 2bb0087e authored by wolfsack's avatar wolfsack
Browse files

Update metrics.py

parent bc5e4178
......@@ -77,9 +77,10 @@ def metrics():
print(platform.system())
# raspberry pi exclusive
vcgm = Vcgencmd()
output = vcgm.version()
print(output)
if platform.system() == "Linux":
vcgm = Vcgencmd()
temp = vcgm.measure_temp()
print(temp)
for partition in partitions:
disk = psutil.disk_usage(partition[1])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment