Remove old development output
This commit is contained in:
parent
d6df244f80
commit
12f77e76eb
|
@ -15,12 +15,6 @@ mem['OverallUsed'] = mem['MemUsed'] + mem['SwapUsed']
|
|||
ratio = float(mem['OverallUsed']) / float(mem['MemTotal']) * 100.0
|
||||
|
||||
|
||||
#print('MemTotal: %8.2f MB' % (mem['MemTotal']/1024) )
|
||||
#print('OverallUsed: %8.2f MB' % (mem['OverallUsed']/1024) )
|
||||
#print('Ratio: %8.2f %%' % ratio )
|
||||
#print('MemUsed: %8.2f MB' % (mem['MemUsed']/1024) )
|
||||
#print('SwapUsed: %8.2f MB' % (mem['SwapUsed']/1024) )
|
||||
|
||||
out = 'MemRatio: %.1f%%/%.1fGB of %.1fGB RAM (and %.1fGB Swap) used' % ( ratio, (mem['OverallUsed']/1024.0/1024.0), (mem['MemTotal']/1024.0/1024.0), (mem['SwapTotal']/1024.0/1024.0) )
|
||||
|
||||
if ratio > 150.0:
|
||||
|
|
Loading…
Reference in a new issue