Skip to content

Commit 263f34c

Browse files
committed
Fix ram_free to actually use available which is more accurate for what we want
1 parent 6a16a5f commit 263f34c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RpiCluster/Tasks/NodeVitals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def get_current_node_vitals():
4949
# TODO: Store fans, and battery details if available?
5050
psutil.cpu_percent(1),
5151
psutil.cpu_freq().current,
52-
psutil.virtual_memory().free,
52+
psutil.virtual_memory().available,
5353
psutil.swap_memory().free,
5454
cpu_temperature=cpu_temperature
5555
)

0 commit comments

Comments
 (0)