def getMemoryInfos(): """ Returns a deferred resulting to the output of free -m """ return shlaunchDeferred('free -m')
def getDisksInfos(): """ Returns a deferred resulting to the output of df -k """ return shlaunchDeferred('df -k')