<filename>scripts/freemem.py
#! /usr/bin/env python3

import subprocess

# return the free memory in GB
subprocess.call(["free", "-g"])
<filename>scripts/freemem.py
#! /usr/bin/env python3

import subprocess

# return the free memory in GB
subprocess.call(["free", "-g"])
#! /usr/bin/env python3 # return the free memory in GB