def freemem(): ''' Free memory ''' return readproc.meminfo()['MemFree']
def totalmem(): ''' Total memory in the system ''' return readproc.meminfo()['MemTotal']