diff options
author | 4ur3l13n <aurelien@hackers.camp> | 2015-08-06 17:58:21 +0200 |
---|---|---|
committer | 4ur3l13n <aurelien@hackers.camp> | 2015-08-06 17:58:21 +0200 |
commit | 295eb4e7e8cfa9f5afe7588085cd4b0509efe063 (patch) | |
tree | ab93ddd7a6c7ee4dacfc781995a70eeb05041bf3 | |
parent | 28af3d42e0ea56a9fd0efe53a435bb5d5d5d0cbf (diff) |
correction on ram reading
-rwxr-xr-x | paraboley | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -288,7 +288,7 @@ class ramDisplay(display): def format_output(self, instring): ram = ''.join(line for line in str(instring).split('\n') if\ line.startswith('Mem:')).split() - used = int(ram[2]) - int(ram[5]) - int(ram[6]) + used = int(ram[2]) total = int(ram[1]) title = 'RAM' try: |