Hi. There is a common Unix program called "top" that outputs useful system information like "load average", "memory usage", "cpu usage", etc.
I know I can do the following and parse the data within a python script...
Code: Alles auswählen
import os
topData = os.system("top")
# the 'free' command lists free memory
# freeData = os.system("free")