Commit bc5e4178 authored by wolfsack's avatar wolfsack
Browse files

..

parent 1e6941a9
import os
import platform
import psutil
from vcgencmd import Vcgencmd
from metric import Metric
......@@ -69,6 +73,14 @@ def metrics():
}
)]
print(os.name)
print(platform.system())
# raspberry pi exclusive
vcgm = Vcgencmd()
output = vcgm.version()
print(output)
for partition in partitions:
disk = psutil.disk_usage(partition[1])
metrics_list.append(
......
......@@ -6,4 +6,4 @@ Jinja2==3.0.3
MarkupSafe==2.0.1
psutil==5.8.0
Werkzeug==2.0.2
vcgencmd~=0.1.1
\ No newline at end of file
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