Sharfraz's picture
Create memory usage 2
eb46ea7 verified
raw
history blame contribute delete
88 Bytes
import psutil
print(f"Memory usage: {psutil.virtual_memory().used / 1024**3:.2f} GiB")