예제 #1
0
def freemem():
    ''' Free memory '''

    return readproc.meminfo()['MemFree']
예제 #2
0
파일: pylinux.py 프로젝트: amitsaha/pylinux
def freemem():
    ''' Free memory '''

    return readproc.meminfo()['MemFree']
예제 #3
0
def totalmem():
    ''' Total memory in the system '''

    return readproc.meminfo()['MemTotal']
예제 #4
0
파일: pylinux.py 프로젝트: amitsaha/pylinux
def totalmem():
    ''' Total memory in the system '''

    return readproc.meminfo()['MemTotal']