From 12f77e76eb398518e4628a2c460e3799a60c4c2b Mon Sep 17 00:00:00 2001 From: Sven Velt Date: Thu, 24 Jun 2021 12:00:42 +0200 Subject: [PATCH] Remove old development output --- check_linux_memory.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/check_linux_memory.py b/check_linux_memory.py index 669452c..6798530 100755 --- a/check_linux_memory.py +++ b/check_linux_memory.py @@ -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: