src/housekeeping.py
def memoryTotal():
    """
    Retrieves total system memory from /proc/meminfo in MB
    """
    meminfo = {
        _l.split()[0].rstrip(':'): int(_l.split()[1])
        for _l in open('/proc/meminfo').readlines()}
    return int(meminfo['MemTotal'] / 1024)

    Retrieves total system memory from /proc/meminfo in MB
    
Retrieves total system memory from /proc/meminfo in MB
Retrieves total system memory from / proc / meminfo in MB
def memoryTotal():
    meminfo = {
        _l.split()[0].rstrip(':'): int(_l.split()[1])
        for _l in open('/proc/meminfo').readlines()}
    return int(meminfo['MemTotal'] / 1024)
def memoryTotal ( ) : meminfo = { _l . split ( ) [ 0 ] . rstrip ( ':' ) : int ( _l . split ( ) [ 1 ] ) for _l in open ( '/proc/meminfo' ) . readlines ( ) } return int ( meminfo [ 'MemTotal' ] / 1024 )
Retrieves total system memory from /proc/meminfo in MB
Retrieves total system memory from / proc / meminfo in MB
"""
    Retrieves total system memory from /proc/meminfo in MB
    """